Class UpdateClientTlsPolicyRequest.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateClientTlsPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides

build()

public UpdateClientTlsPolicyRequest build()
Returns
TypeDescription
UpdateClientTlsPolicyRequest

buildPartial()

public UpdateClientTlsPolicyRequest buildPartial()
Returns
TypeDescription
UpdateClientTlsPolicyRequest

clear()

public UpdateClientTlsPolicyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateClientTlsPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateClientTlsPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateClientTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateClientTlsPolicyRequest.Builder

clone()

public UpdateClientTlsPolicyRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ClientTlsPolicyOrBuilder

getDefaultInstanceForType()

public UpdateClientTlsPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateClientTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasClientTlsPolicy()

public boolean hasClientTlsPolicy()

Required. Updated ClientTlsPolicy resource.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueClientTlsPolicy
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder

mergeFrom(UpdateClientTlsPolicyRequest other)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(UpdateClientTlsPolicyRequest other)
Parameter
NameDescription
otherUpdateClientTlsPolicyRequest
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateClientTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateClientTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueClientTlsPolicy
Returns
TypeDescription
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
NameDescription
builderForValueClientTlsPolicy.Builder
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateClientTlsPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides

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

public UpdateClientTlsPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateClientTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateClientTlsPolicyRequest.Builder