Class Compute.IngressRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.IngressRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Compute.IngressRequestOrBuilder
Enclosing class:
Compute

public static final class Compute.IngressRequest extends com.google.protobuf.GeneratedMessage implements Compute.IngressRequestOrBuilder
 Ingresses configured through this message always terminate HTTPS and
 proxy cleartext HTTP to the backend.
 
Protobuf type namespace.cloud.compute.v1beta.IngressRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • HTTP_MATCH_RULE_FIELD_NUMBER

      public static final int HTTP_MATCH_RULE_FIELD_NUMBER
      See Also:
    • EXPORTED_PORT_BACKEND_FIELD_NUMBER

      public static final int EXPORTED_PORT_BACKEND_FIELD_NUMBER
      See Also:
    • WILDCARD_FIELD_NUMBER

      public static final int WILDCARD_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
    • getName

      public String getName()
       A name is an string that matches the regular expression `[a-z0-9]([a-z0-9-_]*[a-z0-9])?`.
       
      string name = 1;
      Specified by:
      getName in interface Compute.IngressRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       A name is an string that matches the regular expression `[a-z0-9]([a-z0-9-_]*[a-z0-9])?`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface Compute.IngressRequestOrBuilder
      Returns:
      The bytes for name.
    • getHttpMatchRuleList

      public List<Compute.HttpMatchRule> getHttpMatchRuleList()
      repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 2;
      Specified by:
      getHttpMatchRuleList in interface Compute.IngressRequestOrBuilder
    • getHttpMatchRuleOrBuilderList

      public List<? extends Compute.HttpMatchRuleOrBuilder> getHttpMatchRuleOrBuilderList()
      repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 2;
      Specified by:
      getHttpMatchRuleOrBuilderList in interface Compute.IngressRequestOrBuilder
    • getHttpMatchRuleCount

      public int getHttpMatchRuleCount()
      repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 2;
      Specified by:
      getHttpMatchRuleCount in interface Compute.IngressRequestOrBuilder
    • getHttpMatchRule

      public Compute.HttpMatchRule getHttpMatchRule(int index)
      repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 2;
      Specified by:
      getHttpMatchRule in interface Compute.IngressRequestOrBuilder
    • getHttpMatchRuleOrBuilder

      public Compute.HttpMatchRuleOrBuilder getHttpMatchRuleOrBuilder(int index)
      repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 2;
      Specified by:
      getHttpMatchRuleOrBuilder in interface Compute.IngressRequestOrBuilder
    • hasExportedPortBackend

      public boolean hasExportedPortBackend()
      .namespace.cloud.compute.v1beta.ExportedPortBackend exported_port_backend = 3;
      Specified by:
      hasExportedPortBackend in interface Compute.IngressRequestOrBuilder
      Returns:
      Whether the exportedPortBackend field is set.
    • getExportedPortBackend

      public Compute.ExportedPortBackend getExportedPortBackend()
      .namespace.cloud.compute.v1beta.ExportedPortBackend exported_port_backend = 3;
      Specified by:
      getExportedPortBackend in interface Compute.IngressRequestOrBuilder
      Returns:
      The exportedPortBackend.
    • getExportedPortBackendOrBuilder

      public Compute.ExportedPortBackendOrBuilder getExportedPortBackendOrBuilder()
      .namespace.cloud.compute.v1beta.ExportedPortBackend exported_port_backend = 3;
      Specified by:
      getExportedPortBackendOrBuilder in interface Compute.IngressRequestOrBuilder
    • getWildcard

      public boolean getWildcard()
       Routes all first-level sub domains of the instance wildcard domain to this ingress.
       Requires the hosting instance to have a wildcard domain (enabled via CreateInstanceRequest.experimental.enable_wildcard_domain).
       
      bool wildcard = 4;
      Specified by:
      getWildcard in interface Compute.IngressRequestOrBuilder
      Returns:
      The wildcard.
    • 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 Compute.IngressRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.IngressRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Compute.IngressRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Compute.IngressRequest.Builder newBuilder()
    • newBuilder

      public static Compute.IngressRequest.Builder newBuilder(Compute.IngressRequest prototype)
    • toBuilder

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

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

      public static Compute.IngressRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Compute.IngressRequest> 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 Compute.IngressRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder