Class UpdateClientTlsPolicyRequest.Builder (0.88.0)

public static final class UpdateClientTlsPolicyRequest.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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