Class DeleteClientTlsPolicyRequest.Builder (0.88.0)

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

Request used by the DeleteClientTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteClientTlsPolicyRequest build()
Returns
Type Description
DeleteClientTlsPolicyRequest

buildPartial()

public DeleteClientTlsPolicyRequest buildPartial()
Returns
Type Description
DeleteClientTlsPolicyRequest

clear()

public DeleteClientTlsPolicyRequest.Builder clear()
Returns
Type Description
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
Type Description
DeleteClientTlsPolicyRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteClientTlsPolicyRequest getDefaultInstanceForType()
Returns
Type Description
DeleteClientTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteClientTlsPolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeleteClientTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteClientTlsPolicyRequest.Builder

This builder for chaining.