Class RoutingVPC.Builder (1.10.0)

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

RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.

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

clearRequiredForNewSiteToSiteDataTransferSpokes()

public RoutingVPC.Builder clearRequiredForNewSiteToSiteDataTransferSpokes()

Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.

bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RoutingVPC.Builder

This builder for chaining.

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

getRequiredForNewSiteToSiteDataTransferSpokes()

public boolean getRequiredForNewSiteToSiteDataTransferSpokes()

Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.

bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The requiredForNewSiteToSiteDataTransferSpokes.

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

setRequiredForNewSiteToSiteDataTransferSpokes(boolean value)

public RoutingVPC.Builder setRequiredForNewSiteToSiteDataTransferSpokes(boolean value)

Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.

bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The requiredForNewSiteToSiteDataTransferSpokes to set.

Returns
TypeDescription
RoutingVPC.Builder

This builder for chaining.

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.