Package com.google.cloud.deploy.v1
Class KubernetesConfig.GatewayServiceMesh
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh
- All Implemented Interfaces:
KubernetesConfig.GatewayServiceMeshOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- KubernetesConfig
public static final class KubernetesConfig.GatewayServiceMesh
extends com.google.protobuf.GeneratedMessage
implements KubernetesConfig.GatewayServiceMeshOrBuilder
Information about the Kubernetes Gateway API service mesh configuration.Protobuf type
google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about the Kubernetes Gateway API service mesh configuration.static final classInformation about route destinations for the Gateway API service mesh.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 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 TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<KubernetesConfig.GatewayServiceMesh>Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.intRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(KubernetesConfig.GatewayServiceMesh prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<KubernetesConfig.GatewayServiceMesh>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
-
HTTP_ROUTE_FIELD_NUMBER
public static final int HTTP_ROUTE_FIELD_NUMBER- See Also:
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER- See Also:
-
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER- See Also:
-
ROUTE_UPDATE_WAIT_TIME_FIELD_NUMBER
public static final int ROUTE_UPDATE_WAIT_TIME_FIELD_NUMBER- See Also:
-
STABLE_CUTBACK_DURATION_FIELD_NUMBER
public static final int STABLE_CUTBACK_DURATION_FIELD_NUMBER- See Also:
-
POD_SELECTOR_LABEL_FIELD_NUMBER
public static final int POD_SELECTOR_LABEL_FIELD_NUMBER- See Also:
-
ROUTE_DESTINATIONS_FIELD_NUMBER
public static final int ROUTE_DESTINATIONS_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
-
getHttpRoute
Required. Name of the Gateway API HTTPRoute.
string http_route = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHttpRoutein interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The httpRoute.
-
getHttpRouteBytes
public com.google.protobuf.ByteString getHttpRouteBytes()Required. Name of the Gateway API HTTPRoute.
string http_route = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHttpRouteBytesin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The bytes for httpRoute.
-
getService
Required. Name of the Kubernetes Service.
string service = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getServicein interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Required. Name of the Kubernetes Service.
string service = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getServiceBytesin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The bytes for service.
-
getDeployment
Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
string deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDeploymentin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The deployment.
-
getDeploymentBytes
public com.google.protobuf.ByteString getDeploymentBytes()Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
string deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDeploymentBytesin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The bytes for deployment.
-
hasRouteUpdateWaitTime
public boolean hasRouteUpdateWaitTime()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRouteUpdateWaitTimein interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- Whether the routeUpdateWaitTime field is set.
-
getRouteUpdateWaitTime
public com.google.protobuf.Duration getRouteUpdateWaitTime()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteUpdateWaitTimein interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The routeUpdateWaitTime.
-
getRouteUpdateWaitTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteUpdateWaitTimeOrBuilderin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder
-
hasStableCutbackDuration
public boolean hasStableCutbackDuration()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStableCutbackDurationin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- Whether the stableCutbackDuration field is set.
-
getStableCutbackDuration
public com.google.protobuf.Duration getStableCutbackDuration()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStableCutbackDurationin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The stableCutbackDuration.
-
getStableCutbackDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStableCutbackDurationOrBuilderin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder
-
getPodSelectorLabel
Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
string pod_selector_label = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPodSelectorLabelin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The podSelectorLabel.
-
getPodSelectorLabelBytes
public com.google.protobuf.ByteString getPodSelectorLabelBytes()Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
string pod_selector_label = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPodSelectorLabelBytesin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The bytes for podSelectorLabel.
-
hasRouteDestinations
public boolean hasRouteDestinations()Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRouteDestinationsin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- Whether the routeDestinations field is set.
-
getRouteDestinations
Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteDestinationsin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder- Returns:
- The routeDestinations.
-
getRouteDestinationsOrBuilder
public KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder getRouteDestinationsOrBuilder()Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteDestinationsOrBuilderin interfaceKubernetesConfig.GatewayServiceMeshOrBuilder
-
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 KubernetesConfig.GatewayServiceMesh parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static KubernetesConfig.GatewayServiceMesh parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static KubernetesConfig.GatewayServiceMesh parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static KubernetesConfig.GatewayServiceMesh 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
public static KubernetesConfig.GatewayServiceMesh.Builder newBuilder(KubernetesConfig.GatewayServiceMesh prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected KubernetesConfig.GatewayServiceMesh.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
-