Class UpdateClientTlsPolicyRequest.Builder (0.46.0)

public static final class UpdateClientTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateClientTlsPolicyRequest.Builder> implements UpdateClientTlsPolicyRequestOrBuilder

Request used by UpdateClientTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateClientTlsPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

build()

public UpdateClientTlsPolicyRequest build()
Returns
Type Description
UpdateClientTlsPolicyRequest

buildPartial()

public UpdateClientTlsPolicyRequest buildPartial()
Returns
Type Description
UpdateClientTlsPolicyRequest

clear()

public UpdateClientTlsPolicyRequest.Builder clear()
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearClientTlsPolicy()

public UpdateClientTlsPolicyRequest.Builder clearClientTlsPolicy()

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)

public UpdateClientTlsPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateClientTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

clearUpdateMask()

public UpdateClientTlsPolicyRequest.Builder clearUpdateMask()

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()

public UpdateClientTlsPolicyRequest.Builder clone()
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

getClientTlsPolicy()

public ClientTlsPolicy getClientTlsPolicy()

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()

public ClientTlsPolicy.Builder getClientTlsPolicyBuilder()

Required. Updated ClientTlsPolicy resource.

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

Returns
Type Description
ClientTlsPolicy.Builder

getClientTlsPolicyOrBuilder()

public ClientTlsPolicyOrBuilder getClientTlsPolicyOrBuilder()

Required. Updated ClientTlsPolicy resource.

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

Returns
Type Description
ClientTlsPolicyOrBuilder

getDefaultInstanceForType()

public UpdateClientTlsPolicyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateClientTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

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()

public FieldMask.Builder getUpdateMaskBuilder()

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()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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()

public boolean hasClientTlsPolicy()

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()

public boolean hasUpdateMask()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClientTlsPolicy(ClientTlsPolicy value)

public UpdateClientTlsPolicyRequest.Builder mergeClientTlsPolicy(ClientTlsPolicy value)

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)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(UpdateClientTlsPolicyRequest other)
Parameter
Name Description
other UpdateClientTlsPolicyRequest
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateClientTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateClientTlsPolicyRequest.Builder mergeUpdateMask(FieldMask value)

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)

public UpdateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy value)

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)

public UpdateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)

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)

public UpdateClientTlsPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

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

public UpdateClientTlsPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateClientTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateClientTlsPolicyRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateClientTlsPolicyRequest.Builder setUpdateMask(FieldMask value)

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)

public UpdateClientTlsPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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