Class GetConnectorRequest.Builder (2.14.0)

public static final class GetConnectorRequest.Builder extends GeneratedMessageV3.Builder<GetConnectorRequest.Builder> implements GetConnectorRequestOrBuilder

Request for getting a Serverless VPC Access connector.

Protobuf type google.cloud.vpcaccess.v1.GetConnectorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConnectorRequest build()
Returns
TypeDescription
GetConnectorRequest

buildPartial()

public GetConnectorRequest buildPartial()
Returns
TypeDescription
GetConnectorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetConnectorRequest.Builder clearName()

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

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

Returns
TypeDescription
GetConnectorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetConnectorRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConnectorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

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 get.

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

public GetConnectorRequest.Builder mergeFrom(GetConnectorRequest other)
Parameter
NameDescription
otherGetConnectorRequest
Returns
TypeDescription
GetConnectorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConnectorRequest.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetConnectorRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConnectorRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetConnectorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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