public static final class RoutingVPC.Builder extends GeneratedMessageV3.Builder<RoutingVPC.Builder> implements RoutingVPCOrBuilder
RoutingVPC contains information about the VPC networks that are associated
with a hub's spokes.
Protobuf type google.cloud.networkconnectivity.v1.RoutingVPC
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutingVPC.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RoutingVPC build()
Returns
buildPartial()
public RoutingVPC buildPartial()
Returns
clear()
public RoutingVPC.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RoutingVPC.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutingVPC.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearUri()
public RoutingVPC.Builder clearUri()
The URI of the VPC network.
string uri = 1 [(.google.api.resource_reference) = { ... }
Returns
clone()
public RoutingVPC.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RoutingVPC getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
The URI of the VPC network.
string uri = 1 [(.google.api.resource_reference) = { ... }
Returns
getUriBytes()
public ByteString getUriBytes()
The URI of the VPC network.
string uri = 1 [(.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RoutingVPC other)
public RoutingVPC.Builder mergeFrom(RoutingVPC other)
Parameter
Returns
public RoutingVPC.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RoutingVPC.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutingVPC.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RoutingVPC.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoutingVPC.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutingVPC.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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