Class UpdateServerTlsPolicyRequest.Builder (0.48.0)

publicstaticfinalclass UpdateServerTlsPolicyRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateServerTlsPolicyRequest.Builder>implementsUpdateServerTlsPolicyRequestOrBuilder

Request used by UpdateServerTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateServerTlsPolicyRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

build()

publicUpdateServerTlsPolicyRequestbuild()
Returns
Type Description
UpdateServerTlsPolicyRequest

buildPartial()

publicUpdateServerTlsPolicyRequestbuildPartial()
Returns
Type Description
UpdateServerTlsPolicyRequest

clear()

publicUpdateServerTlsPolicyRequest.Builderclear()
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicUpdateServerTlsPolicyRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateServerTlsPolicyRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

clearServerTlsPolicy()

publicUpdateServerTlsPolicyRequest.BuilderclearServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

clearUpdateMask()

publicUpdateServerTlsPolicyRequest.BuilderclearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

clone()

publicUpdateServerTlsPolicyRequest.Builderclone()
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

publicUpdateServerTlsPolicyRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateServerTlsPolicyRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServerTlsPolicy()

publicServerTlsPolicygetServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServerTlsPolicy

The serverTlsPolicy.

getServerTlsPolicyBuilder()

publicServerTlsPolicy.BuildergetServerTlsPolicyBuilder()

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServerTlsPolicy.Builder

getServerTlsPolicyOrBuilder()

publicServerTlsPolicyOrBuildergetServerTlsPolicyOrBuilder()

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServerTlsPolicyOrBuilder

getUpdateMask()

publicFieldMaskgetUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

publicFieldMask.BuildergetUpdateMaskBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasServerTlsPolicy()

publicbooleanhasServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serverTlsPolicy field is set.

hasUpdateMask()

publicbooleanhasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateServerTlsPolicyRequest other)

publicUpdateServerTlsPolicyRequest.BuildermergeFrom(UpdateServerTlsPolicyRequestother)
Parameter
Name Description
other UpdateServerTlsPolicyRequest
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateServerTlsPolicyRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicUpdateServerTlsPolicyRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

mergeServerTlsPolicy(ServerTlsPolicy value)

publicUpdateServerTlsPolicyRequest.BuildermergeServerTlsPolicy(ServerTlsPolicyvalue)

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServerTlsPolicy
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateServerTlsPolicyRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateServerTlsPolicyRequest.BuildermergeUpdateMask(FieldMaskvalue)

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicUpdateServerTlsPolicyRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicUpdateServerTlsPolicyRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

setServerTlsPolicy(ServerTlsPolicy value)

publicUpdateServerTlsPolicyRequest.BuildersetServerTlsPolicy(ServerTlsPolicyvalue)

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServerTlsPolicy
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)

publicUpdateServerTlsPolicyRequest.BuildersetServerTlsPolicy(ServerTlsPolicy.BuilderbuilderForValue)

Required. Updated ServerTlsPolicy resource.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServerTlsPolicy.Builder
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateServerTlsPolicyRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateServerTlsPolicyRequest.BuildersetUpdateMask(FieldMaskvalue)

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

publicUpdateServerTlsPolicyRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateServerTlsPolicyRequest.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.