Class LinkedProducerVpcNetwork
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork
- All Implemented Interfaces:
LinkedProducerVpcNetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LinkedProducerVpcNetwork
extends com.google.protobuf.GeneratedMessage
implements LinkedProducerVpcNetworkOrBuilder
Protobuf type
google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegoogle.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetworkNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinkedProducerVpcNetworkstatic final com.google.protobuf.Descriptors.DescriptorgetExcludeExportRanges(int index) Optional.com.google.protobuf.ByteStringgetExcludeExportRangesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getIncludeExportRanges(int index) Optional.com.google.protobuf.ByteStringgetIncludeExportRangesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.Parser<LinkedProducerVpcNetwork>Immutable.com.google.protobuf.ByteStringImmutable.Output only.com.google.protobuf.ByteStringOutput only.getProposedExcludeExportRanges(int index) Output only.com.google.protobuf.ByteStringgetProposedExcludeExportRangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getProposedIncludeExportRanges(int index) Output only.com.google.protobuf.ByteStringgetProposedIncludeExportRangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(LinkedProducerVpcNetwork prototype) protected LinkedProducerVpcNetwork.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LinkedProducerVpcNetworkparseDelimitedFrom(InputStream input) static LinkedProducerVpcNetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedProducerVpcNetworkparseFrom(byte[] data) static LinkedProducerVpcNetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedProducerVpcNetworkparseFrom(com.google.protobuf.ByteString data) static LinkedProducerVpcNetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedProducerVpcNetworkparseFrom(com.google.protobuf.CodedInputStream input) static LinkedProducerVpcNetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedProducerVpcNetworkparseFrom(InputStream input) static LinkedProducerVpcNetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedProducerVpcNetworkparseFrom(ByteBuffer data) static LinkedProducerVpcNetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinkedProducerVpcNetwork>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER
public static final int SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER- See Also:
-
PEERING_FIELD_NUMBER
public static final int PEERING_FIELD_NUMBER- See Also:
-
PRODUCER_NETWORK_FIELD_NUMBER
public static final int PRODUCER_NETWORK_FIELD_NUMBER- See Also:
-
EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int INCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
PROPOSED_INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int PROPOSED_INCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
PROPOSED_EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int PROPOSED_EXCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getNetwork
Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
string network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
string network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The bytes for network.
-
getServiceConsumerVpcSpoke
Output only. The Service Consumer Network spoke.
string service_consumer_vpc_spoke = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceConsumerVpcSpokein interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The serviceConsumerVpcSpoke.
-
getServiceConsumerVpcSpokeBytes
public com.google.protobuf.ByteString getServiceConsumerVpcSpokeBytes()Output only. The Service Consumer Network spoke.
string service_consumer_vpc_spoke = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceConsumerVpcSpokeBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The bytes for serviceConsumerVpcSpoke.
-
getPeering
Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.
string peering = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPeeringin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The peering.
-
getPeeringBytes
public com.google.protobuf.ByteString getPeeringBytes()Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.
string peering = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPeeringBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The bytes for peering.
-
getProducerNetwork
Output only. The URI of the Producer VPC.
string producer_network = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerNetworkin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The producerNetwork.
-
getProducerNetworkBytes
public com.google.protobuf.ByteString getProducerNetworkBytes()Output only. The URI of the Producer VPC.
string producer_network = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerNetworkBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The bytes for producerNetwork.
-
getExcludeExportRangesList
public com.google.protobuf.ProtocolStringList getExcludeExportRangesList()Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeExportRangesListin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- A list containing the excludeExportRanges.
-
getExcludeExportRangesCount
public int getExcludeExportRangesCount()Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeExportRangesCountin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The count of excludeExportRanges.
-
getExcludeExportRanges
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeExportRangesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludeExportRanges at the given index.
-
getExcludeExportRangesBytes
public com.google.protobuf.ByteString getExcludeExportRangesBytes(int index) Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeExportRangesBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeExportRanges at the given index.
-
getIncludeExportRangesList
public com.google.protobuf.ProtocolStringList getIncludeExportRangesList()Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeExportRangesListin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- A list containing the includeExportRanges.
-
getIncludeExportRangesCount
public int getIncludeExportRangesCount()Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeExportRangesCountin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The count of includeExportRanges.
-
getIncludeExportRanges
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeExportRangesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The includeExportRanges at the given index.
-
getIncludeExportRangesBytes
public com.google.protobuf.ByteString getIncludeExportRangesBytes(int index) Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeExportRangesBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeExportRanges at the given index.
-
getProposedIncludeExportRangesList
public com.google.protobuf.ProtocolStringList getProposedIncludeExportRangesList()Output only. The proposed include export IP ranges waiting for hub administrator's approval.
repeated string proposed_include_export_ranges = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedIncludeExportRangesListin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- A list containing the proposedIncludeExportRanges.
-
getProposedIncludeExportRangesCount
public int getProposedIncludeExportRangesCount()Output only. The proposed include export IP ranges waiting for hub administrator's approval.
repeated string proposed_include_export_ranges = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedIncludeExportRangesCountin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The count of proposedIncludeExportRanges.
-
getProposedIncludeExportRanges
Output only. The proposed include export IP ranges waiting for hub administrator's approval.
repeated string proposed_include_export_ranges = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedIncludeExportRangesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The proposedIncludeExportRanges at the given index.
-
getProposedIncludeExportRangesBytes
public com.google.protobuf.ByteString getProposedIncludeExportRangesBytes(int index) Output only. The proposed include export IP ranges waiting for hub administrator's approval.
repeated string proposed_include_export_ranges = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedIncludeExportRangesBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the proposedIncludeExportRanges at the given index.
-
getProposedExcludeExportRangesList
public com.google.protobuf.ProtocolStringList getProposedExcludeExportRangesList()Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.
repeated string proposed_exclude_export_ranges = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedExcludeExportRangesListin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- A list containing the proposedExcludeExportRanges.
-
getProposedExcludeExportRangesCount
public int getProposedExcludeExportRangesCount()Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.
repeated string proposed_exclude_export_ranges = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedExcludeExportRangesCountin interfaceLinkedProducerVpcNetworkOrBuilder- Returns:
- The count of proposedExcludeExportRanges.
-
getProposedExcludeExportRanges
Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.
repeated string proposed_exclude_export_ranges = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedExcludeExportRangesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The proposedExcludeExportRanges at the given index.
-
getProposedExcludeExportRangesBytes
public com.google.protobuf.ByteString getProposedExcludeExportRangesBytes(int index) Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.
repeated string proposed_exclude_export_ranges = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedExcludeExportRangesBytesin interfaceLinkedProducerVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the proposedExcludeExportRanges at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LinkedProducerVpcNetwork parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinkedProducerVpcNetwork.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-