Class DeleteConnectorRequest.Builder (2.10.0)

public static final class DeleteConnectorRequest.Builder extends GeneratedMessageV3.Builder<DeleteConnectorRequest.Builder> implements DeleteConnectorRequestOrBuilder

Request for deleting a Serverless VPC Access connector.

Protobuf type google.cloud.vpcaccess.v1.DeleteConnectorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteConnectorRequest build()
Returns
TypeDescription
DeleteConnectorRequest

buildPartial()

public DeleteConnectorRequest buildPartial()
Returns
TypeDescription
DeleteConnectorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteConnectorRequest.Builder clearName()

Required. Name of a Serverless VPC Access connector to delete.

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

Returns
TypeDescription
DeleteConnectorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteConnectorRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteConnectorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of a Serverless VPC Access connector to delete.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of a Serverless VPC Access connector to delete.

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

public DeleteConnectorRequest.Builder mergeFrom(DeleteConnectorRequest other)
Parameter
NameDescription
otherDeleteConnectorRequest
Returns
TypeDescription
DeleteConnectorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteConnectorRequest.Builder setName(String value)

Required. Name of a Serverless VPC Access connector to delete.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteConnectorRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteConnectorRequest.Builder setNameBytes(ByteString value)

Required. Name of a Serverless VPC Access connector to delete.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteConnectorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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