Class Gateway
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.Gateway
- All Implemented Interfaces:
GatewayOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Gateway
extends com.google.protobuf.GeneratedMessage
implements GatewayOrBuilder
A gateway that can apply specialized traffic processing.Protobuf type
google.cloud.networkconnectivity.v1beta.Gateway- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA gateway that can apply specialized traffic processing.static enumThe aggregate processing capacity of this gateway.static final classA list of IP ranges that are reserved for this gateway's internal intfrastructure.static interfaceNested 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 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 TypeMethodDescriptionbooleanOptional.intOptional.getCloudRouters(int index) Output only.com.google.protobuf.ByteStringgetCloudRoutersBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static Gatewaystatic final com.google.protobuf.Descriptors.DescriptorgetIpRangeReservations(int index) Optional.intOptional.Optional.getIpRangeReservationsOrBuilder(int index) Optional.List<? extends Gateway.IpRangeReservationOrBuilder>Optional.com.google.protobuf.Parser<Gateway>Output only.com.google.protobuf.ByteStringOutput only.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Gateway.Builderstatic Gateway.BuildernewBuilder(Gateway prototype) protected Gateway.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GatewayparseDelimitedFrom(InputStream input) static GatewayparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayparseFrom(byte[] data) static GatewayparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayparseFrom(com.google.protobuf.ByteString data) static GatewayparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayparseFrom(com.google.protobuf.CodedInputStream input) static GatewayparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayparseFrom(InputStream input) static GatewayparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayparseFrom(ByteBuffer data) static GatewayparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Gateway>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
-
IP_RANGE_RESERVATIONS_FIELD_NUMBER
public static final int IP_RANGE_RESERVATIONS_FIELD_NUMBER- See Also:
-
CAPACITY_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER- See Also:
-
CLOUD_ROUTERS_FIELD_NUMBER
public static final int CLOUD_ROUTERS_FIELD_NUMBER- See Also:
-
SAC_ATTACHMENT_FIELD_NUMBER
public static final int SAC_ATTACHMENT_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
-
getIpRangeReservationsList
Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.
repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIpRangeReservationsListin interfaceGatewayOrBuilder
-
getIpRangeReservationsOrBuilderList
Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.
repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIpRangeReservationsOrBuilderListin interfaceGatewayOrBuilder
-
getIpRangeReservationsCount
public int getIpRangeReservationsCount()Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.
repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIpRangeReservationsCountin interfaceGatewayOrBuilder
-
getIpRangeReservations
Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.
repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIpRangeReservationsin interfaceGatewayOrBuilder
-
getIpRangeReservationsOrBuilder
Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.
repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIpRangeReservationsOrBuilderin interfaceGatewayOrBuilder
-
getCapacityValue
public int getCapacityValue()Optional. The aggregate processing capacity of this gateway.
.google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCapacityValuein interfaceGatewayOrBuilder- Returns:
- The enum numeric value on the wire for capacity.
-
getCapacity
Optional. The aggregate processing capacity of this gateway.
.google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCapacityin interfaceGatewayOrBuilder- Returns:
- The capacity.
-
getCloudRoutersList
public com.google.protobuf.ProtocolStringList getCloudRoutersList()Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudRoutersListin interfaceGatewayOrBuilder- Returns:
- A list containing the cloudRouters.
-
getCloudRoutersCount
public int getCloudRoutersCount()Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudRoutersCountin interfaceGatewayOrBuilder- Returns:
- The count of cloudRouters.
-
getCloudRouters
Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudRoutersin interfaceGatewayOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cloudRouters at the given index.
-
getCloudRoutersBytes
public com.google.protobuf.ByteString getCloudRoutersBytes(int index) Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudRoutersBytesin interfaceGatewayOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cloudRouters at the given index.
-
getSacAttachment
Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}string sac_attachment = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSacAttachmentin interfaceGatewayOrBuilder- Returns:
- The sacAttachment.
-
getSacAttachmentBytes
public com.google.protobuf.ByteString getSacAttachmentBytes()Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}string sac_attachment = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSacAttachmentBytesin interfaceGatewayOrBuilder- Returns:
- The bytes for sacAttachment.
-
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 Gateway parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Gateway parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Gateway parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Gateway parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Gateway parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Gateway parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Gateway parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Gateway parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Gateway 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 Gateway.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
-