Class VpcConnectorInfo.Builder (1.44.0)

public static final class VpcConnectorInfo.Builder extends GeneratedMessageV3.Builder<VpcConnectorInfo.Builder> implements VpcConnectorInfoOrBuilder

For display only. Metadata associated with a VPC connector.

Protobuf type google.cloud.networkmanagement.v1beta1.VpcConnectorInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpcConnectorInfo build()
Returns
Type Description
VpcConnectorInfo

buildPartial()

public VpcConnectorInfo buildPartial()
Returns
Type Description
VpcConnectorInfo

clear()

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

clearDisplayName()

public VpcConnectorInfo.Builder clearDisplayName()

Name of a VPC connector.

string display_name = 1;

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public VpcConnectorInfo.Builder clearLocation()

Location in which the VPC connector is deployed.

string location = 3;

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public VpcConnectorInfo.Builder clearUri()

URI of a VPC connector.

string uri = 2;

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VpcConnectorInfo getDefaultInstanceForType()
Returns
Type Description
VpcConnectorInfo

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a VPC connector.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a VPC connector.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which the VPC connector is deployed.

string location = 3;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which the VPC connector is deployed.

string location = 3;

Returns
Type Description
ByteString

The bytes for location.

getUri()

public String getUri()

URI of a VPC connector.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a VPC connector.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpcConnectorInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public VpcConnectorInfo.Builder setDisplayName(String value)

Name of a VPC connector.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public VpcConnectorInfo.Builder setDisplayNameBytes(ByteString value)

Name of a VPC connector.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public VpcConnectorInfo.Builder setLocation(String value)

Location in which the VPC connector is deployed.

string location = 3;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public VpcConnectorInfo.Builder setLocationBytes(ByteString value)

Location in which the VPC connector is deployed.

string location = 3;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public VpcConnectorInfo.Builder setUri(String value)

URI of a VPC connector.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public VpcConnectorInfo.Builder setUriBytes(ByteString value)

URI of a VPC connector.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
VpcConnectorInfo.Builder

This builder for chaining.