Class UpdateServerTlsPolicyRequest.Builder (0.26.0)

public static final class UpdateServerTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateServerTlsPolicyRequest.Builder> implements UpdateServerTlsPolicyRequestOrBuilder

Request used by UpdateServerTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateServerTlsPolicyRequest build()
Returns
TypeDescription
UpdateServerTlsPolicyRequest

buildPartial()

public UpdateServerTlsPolicyRequest buildPartial()
Returns
TypeDescription
UpdateServerTlsPolicyRequest

clear()

public UpdateServerTlsPolicyRequest.Builder clear()
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServerTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder
Overrides

clearServerTlsPolicy()

public UpdateServerTlsPolicyRequest.Builder clearServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

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

Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

clearUpdateMask()

public UpdateServerTlsPolicyRequest.Builder clearUpdateMask()

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
TypeDescription
UpdateServerTlsPolicyRequest.Builder

clone()

public UpdateServerTlsPolicyRequest.Builder clone()
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateServerTlsPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateServerTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getServerTlsPolicy()

public ServerTlsPolicy getServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

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

Returns
TypeDescription
ServerTlsPolicy

The serverTlsPolicy.

getServerTlsPolicyBuilder()

public ServerTlsPolicy.Builder getServerTlsPolicyBuilder()

Required. Updated ServerTlsPolicy resource.

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

Returns
TypeDescription
ServerTlsPolicy.Builder

getServerTlsPolicyOrBuilder()

public ServerTlsPolicyOrBuilder getServerTlsPolicyOrBuilder()

Required. Updated ServerTlsPolicy resource.

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

Returns
TypeDescription
ServerTlsPolicyOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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
TypeDescription
FieldMaskOrBuilder

hasServerTlsPolicy()

public boolean hasServerTlsPolicy()

Required. Updated ServerTlsPolicy resource.

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

Returns
TypeDescription
boolean

Whether the serverTlsPolicy field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

mergeFrom(UpdateServerTlsPolicyRequest other)

public UpdateServerTlsPolicyRequest.Builder mergeFrom(UpdateServerTlsPolicyRequest other)
Parameter
NameDescription
otherUpdateServerTlsPolicyRequest
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServerTlsPolicy(ServerTlsPolicy value)

public UpdateServerTlsPolicyRequest.Builder mergeServerTlsPolicy(ServerTlsPolicy value)

Required. Updated ServerTlsPolicy resource.

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

Parameter
NameDescription
valueServerTlsPolicy
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServerTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateServerTlsPolicyRequest.Builder mergeUpdateMask(FieldMask value)

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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServerTlsPolicy(ServerTlsPolicy value)

public UpdateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy value)

Required. Updated ServerTlsPolicy resource.

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

Parameter
NameDescription
valueServerTlsPolicy
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)

public UpdateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)

Required. Updated ServerTlsPolicy resource.

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

Parameter
NameDescription
builderForValueServerTlsPolicy.Builder
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServerTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateServerTlsPolicyRequest.Builder setUpdateMask(FieldMask value)

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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateServerTlsPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateServerTlsPolicyRequest.Builder