Class DeleteTcpRouteRequest.Builder (0.11.0)

public static final class DeleteTcpRouteRequest.Builder extends GeneratedMessageV3.Builder<DeleteTcpRouteRequest.Builder> implements DeleteTcpRouteRequestOrBuilder

Request used by the DeleteTcpRoute method.

Protobuf type google.cloud.networkservices.v1.DeleteTcpRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteTcpRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

build()

public DeleteTcpRouteRequest build()
Returns
Type Description
DeleteTcpRouteRequest

buildPartial()

public DeleteTcpRouteRequest buildPartial()
Returns
Type Description
DeleteTcpRouteRequest

clear()

public DeleteTcpRouteRequest.Builder clear()
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteTcpRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

clearName()

public DeleteTcpRouteRequest.Builder clearName()

Required. A name of the TcpRoute to delete. Must be in the format projects/*/locations/global/tcpRoutes/*.

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

Returns
Type Description
DeleteTcpRouteRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteTcpRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

clone()

public DeleteTcpRouteRequest.Builder clone()
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteTcpRouteRequest getDefaultInstanceForType()
Returns
Type Description
DeleteTcpRouteRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. A name of the TcpRoute to delete. Must be in the format projects/*/locations/global/tcpRoutes/*.

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 TcpRoute to delete. Must be in the format projects/*/locations/global/tcpRoutes/*.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteTcpRouteRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeleteTcpRouteRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTcpRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteTcpRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

setName(String value)

public DeleteTcpRouteRequest.Builder setName(String value)

Required. A name of the TcpRoute to delete. Must be in the format projects/*/locations/global/tcpRoutes/*.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteTcpRouteRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTcpRouteRequest.Builder setNameBytes(ByteString value)

Required. A name of the TcpRoute to delete. Must be in the format projects/*/locations/global/tcpRoutes/*.

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
DeleteTcpRouteRequest.Builder

This builder for chaining.

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

public DeleteTcpRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTcpRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteTcpRouteRequest.Builder
Overrides