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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getIpRangeReservationsList

      public List<Gateway.IpRangeReservation> 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:
      getIpRangeReservationsList in interface GatewayOrBuilder
    • getIpRangeReservationsOrBuilderList

      public List<? extends Gateway.IpRangeReservationOrBuilder> 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:
      getIpRangeReservationsOrBuilderList in interface GatewayOrBuilder
    • 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:
      getIpRangeReservationsCount in interface GatewayOrBuilder
    • getIpRangeReservations

      public Gateway.IpRangeReservation getIpRangeReservations(int index)
       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:
      getIpRangeReservations in interface GatewayOrBuilder
    • getIpRangeReservationsOrBuilder

      public Gateway.IpRangeReservationOrBuilder getIpRangeReservationsOrBuilder(int index)
       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:
      getIpRangeReservationsOrBuilder in interface GatewayOrBuilder
    • 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:
      getCapacityValue in interface GatewayOrBuilder
      Returns:
      The enum numeric value on the wire for capacity.
    • getCapacity

      public Gateway.GatewayCapacity getCapacity()
       Optional. The aggregate processing capacity of this gateway.
       
      .google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCapacity in interface GatewayOrBuilder
      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:
      getCloudRoutersList in interface GatewayOrBuilder
      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:
      getCloudRoutersCount in interface GatewayOrBuilder
      Returns:
      The count of cloudRouters.
    • getCloudRouters

      public String getCloudRouters(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:
      getCloudRouters in interface GatewayOrBuilder
      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:
      getCloudRoutersBytes in interface GatewayOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the cloudRouters at the given index.
    • getSacAttachment

      public String 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:
      getSacAttachment in interface GatewayOrBuilder
      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:
      getSacAttachmentBytes in interface GatewayOrBuilder
      Returns:
      The bytes for sacAttachment.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Gateway parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Gateway parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Gateway parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Gateway parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Gateway parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Gateway parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Gateway.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Gateway.Builder newBuilder()
    • newBuilder

      public static Gateway.Builder newBuilder(Gateway prototype)
    • toBuilder

      public Gateway.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Gateway.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Gateway getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Gateway> parser()
    • getParserForType

      public com.google.protobuf.Parser<Gateway> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Gateway getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder