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.events.cloud.networkconnectivity.v1.RoutingVPC
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RoutingVPC.BuilderImplements
RoutingVPCOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public RoutingVPC.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutingVPC.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
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;
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
This builder for chaining. |
clearUri()
public RoutingVPC.Builder clearUri()
The URI of the VPC network.
string uri = 1;
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
This builder for chaining. |
clone()
public RoutingVPC.Builder clone()
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
getDefaultInstanceForType()
public RoutingVPC getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RoutingVPC |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
boolean |
The requiredForNewSiteToSiteDataTransferSpokes. |
getUri()
public String getUri()
The URI of the VPC network.
string uri = 1;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
The URI of the VPC network.
string uri = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RoutingVPC.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutingVPC.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
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 |
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 |
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;
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 |
setUri(String value)
public RoutingVPC.Builder setUri(String value)
The URI of the VPC network.
string uri = 1;
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
RoutingVPC.Builder |
This builder for chaining. |