public final class LinkedVpcNetwork extends GeneratedMessageV3 implements LinkedVpcNetworkOrBuilder
An existing VPC network.
Protobuf type google.cloud.networkconnectivity.v1.LinkedVpcNetwork
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int INCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRODUCER_VPC_SPOKES_FIELD_NUMBER
public static final int PRODUCER_VPC_SPOKES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LinkedVpcNetwork getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LinkedVpcNetwork.Builder newBuilder()
newBuilder(LinkedVpcNetwork prototype)
public static LinkedVpcNetwork.Builder newBuilder(LinkedVpcNetwork prototype)
public static LinkedVpcNetwork parseDelimitedFrom(InputStream input)
public static LinkedVpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LinkedVpcNetwork parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LinkedVpcNetwork parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpcNetwork parseFrom(CodedInputStream input)
public static LinkedVpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LinkedVpcNetwork parseFrom(InputStream input)
public static LinkedVpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LinkedVpcNetwork parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LinkedVpcNetwork> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LinkedVpcNetwork getDefaultInstanceForType()
getExcludeExportRanges(int index)
public String getExcludeExportRanges(int index)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The excludeExportRanges at the given index.
|
getExcludeExportRangesBytes(int index)
public ByteString getExcludeExportRangesBytes(int index)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the excludeExportRanges at the given index.
|
getExcludeExportRangesCount()
public int getExcludeExportRangesCount()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of excludeExportRanges.
|
getExcludeExportRangesList()
public ProtocolStringList getExcludeExportRangesList()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
getIncludeExportRanges(int index)
public String getIncludeExportRanges(int index)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The includeExportRanges at the given index.
|
getIncludeExportRangesBytes(int index)
public ByteString getIncludeExportRangesBytes(int index)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the includeExportRanges at the given index.
|
getIncludeExportRangesCount()
public int getIncludeExportRangesCount()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of includeExportRanges.
|
getIncludeExportRangesList()
public ProtocolStringList getIncludeExportRangesList()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<LinkedVpcNetwork> getParserForType()
Overrides
getProducerVpcSpokes(int index)
public String getProducerVpcSpokes(int index)
Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The producerVpcSpokes at the given index.
|
getProducerVpcSpokesBytes(int index)
public ByteString getProducerVpcSpokesBytes(int index)
Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the producerVpcSpokes at the given index.
|
getProducerVpcSpokesCount()
public int getProducerVpcSpokesCount()
Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
int |
The count of producerVpcSpokes.
|
getProducerVpcSpokesList()
public ProtocolStringList getProducerVpcSpokesList()
Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUri()
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LinkedVpcNetwork.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LinkedVpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LinkedVpcNetwork.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides