Class RoutingVPC.Builder (1.0.0)

public static final class RoutingVPC.Builder extends GeneratedMessageV3.Builder<RoutingVPC.Builder> implements RoutingVPCOrBuilder

RoutingVPC contains information about the VPC network that is associated with a hub's spokes.

Protobuf type google.cloud.networkconnectivity.v1.RoutingVPC

Implements

RoutingVPCOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RoutingVPC build()
Returns
TypeDescription
RoutingVPC

buildPartial()

public RoutingVPC buildPartial()
Returns
TypeDescription
RoutingVPC

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public RoutingVPC.Builder clearUri()

The URI of the VPC network.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
RoutingVPC.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RoutingVPC getDefaultInstanceForType()
Returns
TypeDescription
RoutingVPC

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

The URI of the VPC network.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the VPC network.

string uri = 1 [(.google.api.resource_reference) = { ... }

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

public RoutingVPC.Builder mergeFrom(RoutingVPC other)
Parameter
NameDescription
otherRoutingVPC
Returns
TypeDescription
RoutingVPC.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public RoutingVPC.Builder setUri(String value)

The URI of the VPC network.

string uri = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
RoutingVPC.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RoutingVPC.Builder setUriBytes(ByteString value)

The URI of the VPC network.

string uri = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
RoutingVPC.Builder

This builder for chaining.