Package namespace.cloud.compute.v1beta
Interface Compute.IngressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.Ingress,Compute.Ingress.Builder
- Enclosing class:
Compute
public static interface Compute.IngressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfigures client authentication in TCP mode.intConfigures client authentication in TCP mode.getHttpMatchRule(int index) HTTP routing and authentication rules.intHTTP routing and authentication rules.HTTP routing and authentication rules.getHttpMatchRuleOrBuilder(int index) HTTP routing and authentication rules.List<? extends Compute.HttpMatchRuleOrBuilder> HTTP routing and authentication rules.getMode()The ingress behavior.intThe ingress behavior.getName()The name used to generate the Internet-facing server name.com.google.protobuf.ByteStringThe name used to generate the Internet-facing server name.intgetPort()The port the instance is listening on.booleanRoutes all first-level subdomains of the instance wildcard domain to this ingress.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name used to generate the Internet-facing server name.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name used to generate the Internet-facing server name.
string name = 1;- Returns:
- The bytes for name.
-
getModeValue
int getModeValue()The ingress behavior. Must be set.
.namespace.cloud.compute.v1beta.Ingress.Mode mode = 2;- Returns:
- The enum numeric value on the wire for mode.
-
getMode
Compute.Ingress.Mode getMode()The ingress behavior. Must be set.
.namespace.cloud.compute.v1beta.Ingress.Mode mode = 2;- Returns:
- The mode.
-
getPort
int getPort()The port the instance is listening on.
int32 port = 3;- Returns:
- The port.
-
getHttpMatchRuleList
List<Compute.HttpMatchRule> getHttpMatchRuleList()HTTP routing and authentication rules. Only supported in HTTP mode.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 5; -
getHttpMatchRule
HTTP routing and authentication rules. Only supported in HTTP mode.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 5; -
getHttpMatchRuleCount
int getHttpMatchRuleCount()HTTP routing and authentication rules. Only supported in HTTP mode.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 5; -
getHttpMatchRuleOrBuilderList
List<? extends Compute.HttpMatchRuleOrBuilder> getHttpMatchRuleOrBuilderList()HTTP routing and authentication rules. Only supported in HTTP mode.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 5; -
getHttpMatchRuleOrBuilder
HTTP routing and authentication rules. Only supported in HTTP mode.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 5; -
getWildcard
boolean getWildcard()Routes all first-level subdomains of the instance wildcard domain to this ingress. Requires the instance wildcard domain to be enabled via experimental.enable_wildcard_domain. Only supported in HTTP mode and mutually exclusive with name.
bool wildcard = 6;- Returns:
- The wildcard.
-
getClientAuthenticationValue
int getClientAuthenticationValue()Configures client authentication in TCP mode. MTLS is incompatible with TLS_PASSTHROUGH, where the backend terminates and authenticates TLS; NONE and UNSPECIFIED have equivalent behavior in passthrough mode. Must not be set in HTTP mode. TCP defaults to requiring mTLS.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Returns:
- The enum numeric value on the wire for clientAuthentication.
-
getClientAuthentication
Compute.IngressClientAuthentication getClientAuthentication()Configures client authentication in TCP mode. MTLS is incompatible with TLS_PASSTHROUGH, where the backend terminates and authenticates TLS; NONE and UNSPECIFIED have equivalent behavior in passthrough mode. Must not be set in HTTP mode. TCP defaults to requiring mTLS.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Returns:
- The clientAuthentication.
-