Class DeleteServerTlsPolicyRequest.Builder (0.34.0)

public static final class DeleteServerTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<DeleteServerTlsPolicyRequest.Builder> implements DeleteServerTlsPolicyRequestOrBuilder

Request used by the DeleteServerTlsPolicy method.

Protobuf type google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteServerTlsPolicyRequest build()
Returns
TypeDescription
DeleteServerTlsPolicyRequest

buildPartial()

public DeleteServerTlsPolicyRequest buildPartial()
Returns
TypeDescription
DeleteServerTlsPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteServerTlsPolicyRequest.Builder clearName()

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

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

Returns
TypeDescription
DeleteServerTlsPolicyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteServerTlsPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteServerTlsPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

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 ServerTlsPolicy to delete. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

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(DeleteServerTlsPolicyRequest other)

public DeleteServerTlsPolicyRequest.Builder mergeFrom(DeleteServerTlsPolicyRequest other)
Parameter
NameDescription
otherDeleteServerTlsPolicyRequest
Returns
TypeDescription
DeleteServerTlsPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteServerTlsPolicyRequest.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteServerTlsPolicyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteServerTlsPolicyRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteServerTlsPolicyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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