Class Gateway

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkservices.v1.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
 Gateway represents the configuration for a proxy, typically a load balancer.
 It captures the ip:port over which the services are exposed by the proxy,
 along with any policy configurations. Routes have reference to to Gateways to
 dictate how requests should be routed by this Gateway.
 
Protobuf type google.cloud.networkservices.v1.Gateway
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • ADDRESSES_FIELD_NUMBER

      public static final int ADDRESSES_FIELD_NUMBER
      See Also:
    • PORTS_FIELD_NUMBER

      public static final int PORTS_FIELD_NUMBER
      See Also:
    • SCOPE_FIELD_NUMBER

      public static final int SCOPE_FIELD_NUMBER
      See Also:
    • SERVER_TLS_POLICY_FIELD_NUMBER

      public static final int SERVER_TLS_POLICY_FIELD_NUMBER
      See Also:
    • CERTIFICATE_URLS_FIELD_NUMBER

      public static final int CERTIFICATE_URLS_FIELD_NUMBER
      See Also:
    • GATEWAY_SECURITY_POLICY_FIELD_NUMBER

      public static final int GATEWAY_SECURITY_POLICY_FIELD_NUMBER
      See Also:
    • NETWORK_FIELD_NUMBER

      public static final int NETWORK_FIELD_NUMBER
      See Also:
    • SUBNETWORK_FIELD_NUMBER

      public static final int SUBNETWORK_FIELD_NUMBER
      See Also:
    • IP_VERSION_FIELD_NUMBER

      public static final int IP_VERSION_FIELD_NUMBER
      See Also:
    • ENVOY_HEADERS_FIELD_NUMBER

      public static final int ENVOY_HEADERS_FIELD_NUMBER
      See Also:
    • ROUTING_MODE_FIELD_NUMBER

      public static final int ROUTING_MODE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. Name of the Gateway resource. It matches pattern
       `projects/*/locations/*/gateways/<gateway_name>`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface GatewayOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the Gateway resource. It matches pattern
       `projects/*/locations/*/gateways/<gateway_name>`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface GatewayOrBuilder
      Returns:
      The bytes for name.
    • getSelfLink

      public String getSelfLink()
       Output only. Server-defined URL of this resource
       
      string self_link = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelfLink in interface GatewayOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. Server-defined URL of this resource
       
      string self_link = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelfLinkBytes in interface GatewayOrBuilder
      Returns:
      The bytes for selfLink.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface GatewayOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface GatewayOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface GatewayOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface GatewayOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface GatewayOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface GatewayOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: GatewayOrBuilder
       Optional. Set of label tags associated with the Gateway resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface GatewayOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Set of label tags associated with the Gateway resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface GatewayOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface GatewayOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Set of label tags associated with the Gateway resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface GatewayOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of label tags associated with the Gateway resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface GatewayOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Set of label tags associated with the Gateway resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface GatewayOrBuilder
    • getDescription

      public String getDescription()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface GatewayOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A free-text description of the resource. Max length 1024
       characters.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface GatewayOrBuilder
      Returns:
      The bytes for description.
    • getTypeValue

      public int getTypeValue()
       Immutable. The type of the customer managed gateway.
       This field is required. If unspecified, an error is returned.
       
      .google.cloud.networkservices.v1.Gateway.Type type = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getTypeValue in interface GatewayOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public Gateway.Type getType()
       Immutable. The type of the customer managed gateway.
       This field is required. If unspecified, an error is returned.
       
      .google.cloud.networkservices.v1.Gateway.Type type = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getType in interface GatewayOrBuilder
      Returns:
      The type.
    • getAddressesList

      public com.google.protobuf.ProtocolStringList getAddressesList()
       Optional. Zero or one IPv4 or IPv6 address on which the Gateway will
       receive the traffic. When no address is provided, an IP from the subnetwork
       is allocated
      
       This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
       
      repeated string addresses = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAddressesList in interface GatewayOrBuilder
      Returns:
      A list containing the addresses.
    • getAddressesCount

      public int getAddressesCount()
       Optional. Zero or one IPv4 or IPv6 address on which the Gateway will
       receive the traffic. When no address is provided, an IP from the subnetwork
       is allocated
      
       This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
       
      repeated string addresses = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAddressesCount in interface GatewayOrBuilder
      Returns:
      The count of addresses.
    • getAddresses

      public String getAddresses(int index)
       Optional. Zero or one IPv4 or IPv6 address on which the Gateway will
       receive the traffic. When no address is provided, an IP from the subnetwork
       is allocated
      
       This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
       
      repeated string addresses = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAddresses in interface GatewayOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The addresses at the given index.
    • getAddressesBytes

      public com.google.protobuf.ByteString getAddressesBytes(int index)
       Optional. Zero or one IPv4 or IPv6 address on which the Gateway will
       receive the traffic. When no address is provided, an IP from the subnetwork
       is allocated
      
       This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
       
      repeated string addresses = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAddressesBytes in interface GatewayOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the addresses at the given index.
    • getPortsList

      public List<Integer> getPortsList()
       Required. One or more port numbers (1-65535), on which the Gateway will
       receive traffic. The proxy binds to the specified ports.
       Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and
       support multiple ports.
       
      repeated int32 ports = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPortsList in interface GatewayOrBuilder
      Returns:
      A list containing the ports.
    • getPortsCount

      public int getPortsCount()
       Required. One or more port numbers (1-65535), on which the Gateway will
       receive traffic. The proxy binds to the specified ports.
       Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and
       support multiple ports.
       
      repeated int32 ports = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPortsCount in interface GatewayOrBuilder
      Returns:
      The count of ports.
    • getPorts

      public int getPorts(int index)
       Required. One or more port numbers (1-65535), on which the Gateway will
       receive traffic. The proxy binds to the specified ports.
       Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port.
       Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and
       support multiple ports.
       
      repeated int32 ports = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPorts in interface GatewayOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ports at the given index.
    • getScope

      public String getScope()
       Optional. Scope determines how configuration across multiple Gateway
       instances are merged. The configuration for multiple Gateway instances with
       the same scope will be merged as presented as a single configuration to the
       proxy/load balancer.
      
       Max length 64 characters.
       Scope should start with a letter and can only have letters, numbers,
       hyphens.
       
      string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getScope in interface GatewayOrBuilder
      Returns:
      The scope.
    • getScopeBytes

      public com.google.protobuf.ByteString getScopeBytes()
       Optional. Scope determines how configuration across multiple Gateway
       instances are merged. The configuration for multiple Gateway instances with
       the same scope will be merged as presented as a single configuration to the
       proxy/load balancer.
      
       Max length 64 characters.
       Scope should start with a letter and can only have letters, numbers,
       hyphens.
       
      string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getScopeBytes in interface GatewayOrBuilder
      Returns:
      The bytes for scope.
    • getServerTlsPolicy

      public String getServerTlsPolicy()
       Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how
       TLS traffic is terminated. If empty, TLS termination is disabled.
       
      string server_tls_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServerTlsPolicy in interface GatewayOrBuilder
      Returns:
      The serverTlsPolicy.
    • getServerTlsPolicyBytes

      public com.google.protobuf.ByteString getServerTlsPolicyBytes()
       Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how
       TLS traffic is terminated. If empty, TLS termination is disabled.
       
      string server_tls_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServerTlsPolicyBytes in interface GatewayOrBuilder
      Returns:
      The bytes for serverTlsPolicy.
    • getCertificateUrlsList

      public com.google.protobuf.ProtocolStringList getCertificateUrlsList()
       Optional. A fully-qualified Certificates URL reference. The proxy presents
       a Certificate (selected based on SNI) when establishing a TLS connection.
       This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       
      repeated string certificate_urls = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCertificateUrlsList in interface GatewayOrBuilder
      Returns:
      A list containing the certificateUrls.
    • getCertificateUrlsCount

      public int getCertificateUrlsCount()
       Optional. A fully-qualified Certificates URL reference. The proxy presents
       a Certificate (selected based on SNI) when establishing a TLS connection.
       This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       
      repeated string certificate_urls = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCertificateUrlsCount in interface GatewayOrBuilder
      Returns:
      The count of certificateUrls.
    • getCertificateUrls

      public String getCertificateUrls(int index)
       Optional. A fully-qualified Certificates URL reference. The proxy presents
       a Certificate (selected based on SNI) when establishing a TLS connection.
       This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       
      repeated string certificate_urls = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCertificateUrls in interface GatewayOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The certificateUrls at the given index.
    • getCertificateUrlsBytes

      public com.google.protobuf.ByteString getCertificateUrlsBytes(int index)
       Optional. A fully-qualified Certificates URL reference. The proxy presents
       a Certificate (selected based on SNI) when establishing a TLS connection.
       This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
       
      repeated string certificate_urls = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCertificateUrlsBytes in interface GatewayOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the certificateUrls at the given index.
    • getGatewaySecurityPolicy

      public String getGatewaySecurityPolicy()
       Optional. A fully-qualified GatewaySecurityPolicy URL reference.
       Defines how a server should apply security policy to inbound
       (VM to Proxy) initiated connections.
      
       For example:
       `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`.
      
       This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.
       
      string gateway_security_policy = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGatewaySecurityPolicy in interface GatewayOrBuilder
      Returns:
      The gatewaySecurityPolicy.
    • getGatewaySecurityPolicyBytes

      public com.google.protobuf.ByteString getGatewaySecurityPolicyBytes()
       Optional. A fully-qualified GatewaySecurityPolicy URL reference.
       Defines how a server should apply security policy to inbound
       (VM to Proxy) initiated connections.
      
       For example:
       `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`.
      
       This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.
       
      string gateway_security_policy = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGatewaySecurityPolicyBytes in interface GatewayOrBuilder
      Returns:
      The bytes for gatewaySecurityPolicy.
    • getNetwork

      public String getNetwork()
       Optional. The relative resource name identifying the VPC network that is
       using this configuration. For example:
       `projects/*/global/networks/network-1`.
      
       Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
       
      string network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface GatewayOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Optional. The relative resource name identifying the VPC network that is
       using this configuration. For example:
       `projects/*/global/networks/network-1`.
      
       Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
       
      string network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface GatewayOrBuilder
      Returns:
      The bytes for network.
    • getSubnetwork

      public String getSubnetwork()
       Optional. The relative resource name identifying  the subnetwork in which
       this SWG is allocated. For example:
       `projects/*/regions/us-central1/subnetworks/network-1`
      
       Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY".
       
      string subnetwork = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSubnetwork in interface GatewayOrBuilder
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      public com.google.protobuf.ByteString getSubnetworkBytes()
       Optional. The relative resource name identifying  the subnetwork in which
       this SWG is allocated. For example:
       `projects/*/regions/us-central1/subnetworks/network-1`
      
       Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY".
       
      string subnetwork = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSubnetworkBytes in interface GatewayOrBuilder
      Returns:
      The bytes for subnetwork.
    • getIpVersionValue

      public int getIpVersionValue()
       Optional. The IP Version that will be used by this gateway. Valid options
       are IPV4 or IPV6. Default is IPV4.
       
      .google.cloud.networkservices.v1.Gateway.IpVersion ip_version = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpVersionValue in interface GatewayOrBuilder
      Returns:
      The enum numeric value on the wire for ipVersion.
    • getIpVersion

      public Gateway.IpVersion getIpVersion()
       Optional. The IP Version that will be used by this gateway. Valid options
       are IPV4 or IPV6. Default is IPV4.
       
      .google.cloud.networkservices.v1.Gateway.IpVersion ip_version = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpVersion in interface GatewayOrBuilder
      Returns:
      The ipVersion.
    • hasEnvoyHeaders

      public boolean hasEnvoyHeaders()
       Optional. Determines if envoy will insert internal debug headers into
       upstream requests. Other Envoy headers may still be injected. By default,
       envoy will not insert any debug headers.
       
      optional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEnvoyHeaders in interface GatewayOrBuilder
      Returns:
      Whether the envoyHeaders field is set.
    • getEnvoyHeadersValue

      public int getEnvoyHeadersValue()
       Optional. Determines if envoy will insert internal debug headers into
       upstream requests. Other Envoy headers may still be injected. By default,
       envoy will not insert any debug headers.
       
      optional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnvoyHeadersValue in interface GatewayOrBuilder
      Returns:
      The enum numeric value on the wire for envoyHeaders.
    • getEnvoyHeaders

      public EnvoyHeaders getEnvoyHeaders()
       Optional. Determines if envoy will insert internal debug headers into
       upstream requests. Other Envoy headers may still be injected. By default,
       envoy will not insert any debug headers.
       
      optional .google.cloud.networkservices.v1.EnvoyHeaders envoy_headers = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnvoyHeaders in interface GatewayOrBuilder
      Returns:
      The envoyHeaders.
    • getRoutingModeValue

      public int getRoutingModeValue()
       Optional. The routing mode of the Gateway.
       This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
       This field is required for gateways of type SECURE_WEB_GATEWAY.
       
      .google.cloud.networkservices.v1.Gateway.RoutingMode routing_mode = 32 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRoutingModeValue in interface GatewayOrBuilder
      Returns:
      The enum numeric value on the wire for routingMode.
    • getRoutingMode

      public Gateway.RoutingMode getRoutingMode()
       Optional. The routing mode of the Gateway.
       This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
       This field is required for gateways of type SECURE_WEB_GATEWAY.
       
      .google.cloud.networkservices.v1.Gateway.RoutingMode routing_mode = 32 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRoutingMode in interface GatewayOrBuilder
      Returns:
      The routingMode.
    • 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