Class UpdateClientTlsPolicyRequest.Builder (0.45.0)

publicstaticfinalclass UpdateClientTlsPolicyRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateClientTlsPolicyRequest.Builder>implementsUpdateClientTlsPolicyRequestOrBuilder

Request used by UpdateClientTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest

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)

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

build()

publicUpdateClientTlsPolicyRequestbuild()
Returns
Type Description
UpdateClientTlsPolicyRequest

buildPartial()

publicUpdateClientTlsPolicyRequestbuildPartial()
Returns
Type Description
UpdateClientTlsPolicyRequest

clear()

publicUpdateClientTlsPolicyRequest.Builderclear()
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearClientTlsPolicy()

publicUpdateClientTlsPolicyRequest.BuilderclearClientTlsPolicy()

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicUpdateClientTlsPolicyRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateClientTlsPolicyRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearUpdateMask()

publicUpdateClientTlsPolicyRequest.BuilderclearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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
UpdateClientTlsPolicyRequest.Builder

clone()

publicUpdateClientTlsPolicyRequest.Builderclone()
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

getClientTlsPolicy()

publicClientTlsPolicygetClientTlsPolicy()

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientTlsPolicy

The clientTlsPolicy.

getClientTlsPolicyBuilder()

publicClientTlsPolicy.BuildergetClientTlsPolicyBuilder()

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientTlsPolicy.Builder

getClientTlsPolicyOrBuilder()

publicClientTlsPolicyOrBuildergetClientTlsPolicyOrBuilder()

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientTlsPolicyOrBuilder

getDefaultInstanceForType()

publicUpdateClientTlsPolicyRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateClientTlsPolicyRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

publicFieldMaskgetUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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 ClientTlsPolicy 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 ClientTlsPolicy 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

hasClientTlsPolicy()

publicbooleanhasClientTlsPolicy()

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the clientTlsPolicy field is set.

hasUpdateMask()

publicbooleanhasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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

mergeClientTlsPolicy(ClientTlsPolicy value)

publicUpdateClientTlsPolicyRequest.BuildermergeClientTlsPolicy(ClientTlsPolicyvalue)

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ClientTlsPolicy
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

mergeFrom(UpdateClientTlsPolicyRequest other)

publicUpdateClientTlsPolicyRequest.BuildermergeFrom(UpdateClientTlsPolicyRequestother)
Parameter
Name Description
other UpdateClientTlsPolicyRequest
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicUpdateClientTlsPolicyRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateClientTlsPolicyRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateClientTlsPolicyRequest.BuildermergeUpdateMask(FieldMaskvalue)

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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
UpdateClientTlsPolicyRequest.Builder

setClientTlsPolicy(ClientTlsPolicy value)

publicUpdateClientTlsPolicyRequest.BuildersetClientTlsPolicy(ClientTlsPolicyvalue)

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ClientTlsPolicy
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)

publicUpdateClientTlsPolicyRequest.BuildersetClientTlsPolicy(ClientTlsPolicy.BuilderbuilderForValue)

Required. Updated ClientTlsPolicy resource.

.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ClientTlsPolicy.Builder
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateClientTlsPolicyRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateClientTlsPolicyRequest.BuildersetUpdateMask(FieldMaskvalue)

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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
UpdateClientTlsPolicyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

publicUpdateClientTlsPolicyRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy 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
UpdateClientTlsPolicyRequest.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.