Class DeleteClientTlsPolicyRequest.Builder (0.40.0)

public static final class DeleteClientTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<DeleteClientTlsPolicyRequest.Builder> implements DeleteClientTlsPolicyRequestOrBuilder

Request used by the DeleteClientTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteClientTlsPolicyRequest build()
Returns
TypeDescription
DeleteClientTlsPolicyRequest

buildPartial()

public DeleteClientTlsPolicyRequest buildPartial()
Returns
TypeDescription
DeleteClientTlsPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteClientTlsPolicyRequest.Builder clearName()

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteClientTlsPolicyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteClientTlsPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteClientTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteClientTlsPolicyRequest other)

public DeleteClientTlsPolicyRequest.Builder mergeFrom(DeleteClientTlsPolicyRequest other)
Parameter
NameDescription
otherDeleteClientTlsPolicyRequest
Returns
TypeDescription
DeleteClientTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteClientTlsPolicyRequest.Builder setName(String value)

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteClientTlsPolicyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteClientTlsPolicyRequest.Builder setNameBytes(ByteString value)

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteClientTlsPolicyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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