Class RoutingVPC.Builder (1.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RoutingVPC build()
Returns
Type Description
RoutingVPC

buildPartial()

public RoutingVPC buildPartial()
Returns
Type Description
RoutingVPC

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RoutingVPC.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
RoutingVPC.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RoutingVPC getDefaultInstanceForType()
Returns
Type Description
RoutingVPC

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
boolean

The requiredForNewSiteToSiteDataTransferSpokes.

getUri()

public String getUri()

The URI of the VPC network.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the VPC network.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RoutingVPC.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value boolean

The requiredForNewSiteToSiteDataTransferSpokes to set.

Returns
Type Description
RoutingVPC.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RoutingVPC.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The uri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RoutingVPC.Builder

This builder for chaining.