Class VpcConnectorInfo.Builder (1.38.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.v1.VpcConnectorInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpcConnectorInfo build()
Returns
TypeDescription
VpcConnectorInfo

buildPartial()

public VpcConnectorInfo buildPartial()
Returns
TypeDescription
VpcConnectorInfo

clear()

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

clearDisplayName()

public VpcConnectorInfo.Builder clearDisplayName()

Name of a VPC connector.

string display_name = 1;

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public VpcConnectorInfo.Builder clearLocation()

Location in which the VPC connector is deployed.

string location = 3;

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public VpcConnectorInfo.Builder clearUri()

URI of a VPC connector.

string uri = 2;

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VpcConnectorInfo getDefaultInstanceForType()
Returns
TypeDescription
VpcConnectorInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of a VPC connector.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a VPC connector.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which the VPC connector is deployed.

string location = 3;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which the VPC connector is deployed.

string location = 3;

Returns
TypeDescription
ByteString

The bytes for location.

getUri()

public String getUri()

URI of a VPC connector.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a VPC connector.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpcConnectorInfo other)

public VpcConnectorInfo.Builder mergeFrom(VpcConnectorInfo other)
Parameter
NameDescription
otherVpcConnectorInfo
Returns
TypeDescription
VpcConnectorInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public VpcConnectorInfo.Builder setDisplayName(String value)

Name of a VPC connector.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public VpcConnectorInfo.Builder setLocation(String value)

Location in which the VPC connector is deployed.

string location = 3;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VpcConnectorInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public VpcConnectorInfo.Builder setUri(String value)

URI of a VPC connector.

string uri = 2;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public VpcConnectorInfo.Builder setUriBytes(ByteString value)

URI of a VPC connector.

string uri = 2;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
VpcConnectorInfo.Builder

This builder for chaining.