Class KubernetesConfig.GatewayServiceMesh.Builder (1.39.0)

public static final class KubernetesConfig.GatewayServiceMesh.Builder extends GeneratedMessageV3.Builder<KubernetesConfig.GatewayServiceMesh.Builder> implements KubernetesConfig.GatewayServiceMeshOrBuilder

Information about the Kubernetes Gateway API service mesh configuration.

Protobuf type google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.GatewayServiceMesh.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

build()

public KubernetesConfig.GatewayServiceMesh build()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

buildPartial()

public KubernetesConfig.GatewayServiceMesh buildPartial()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

clear()

public KubernetesConfig.GatewayServiceMesh.Builder clear()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

clearDeployment()

public KubernetesConfig.GatewayServiceMesh.Builder clearDeployment()

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public KubernetesConfig.GatewayServiceMesh.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

clearHttpRoute()

public KubernetesConfig.GatewayServiceMesh.Builder clearHttpRoute()

Required. Name of the Gateway API HTTPRoute.

string http_route = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public KubernetesConfig.GatewayServiceMesh.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

clearRouteUpdateWaitTime()

public KubernetesConfig.GatewayServiceMesh.Builder clearRouteUpdateWaitTime()

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];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

clearService()

public KubernetesConfig.GatewayServiceMesh.Builder clearService()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clearStableCutbackDuration()

public KubernetesConfig.GatewayServiceMesh.Builder clearStableCutbackDuration()

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];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

clone()

public KubernetesConfig.GatewayServiceMesh.Builder clone()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

getDefaultInstanceForType()

public KubernetesConfig.GatewayServiceMesh getDefaultInstanceForType()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

getDeployment()

public String 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];

Returns
TypeDescription
String

The deployment.

getDeploymentBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for deployment.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHttpRoute()

public String getHttpRoute()

Required. Name of the Gateway API HTTPRoute.

string http_route = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The httpRoute.

getHttpRouteBytes()

public ByteString getHttpRouteBytes()

Required. Name of the Gateway API HTTPRoute.

string http_route = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for httpRoute.

getRouteUpdateWaitTime()

public 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];

Returns
TypeDescription
Duration

The routeUpdateWaitTime.

getRouteUpdateWaitTimeBuilder()

public Duration.Builder getRouteUpdateWaitTimeBuilder()

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];

Returns
TypeDescription
Builder

getRouteUpdateWaitTimeOrBuilder()

public 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];

Returns
TypeDescription
DurationOrBuilder

getService()

public String getService()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for service.

getStableCutbackDuration()

public 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];

Returns
TypeDescription
Duration

The stableCutbackDuration.

getStableCutbackDurationBuilder()

public Duration.Builder getStableCutbackDurationBuilder()

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];

Returns
TypeDescription
Builder

getStableCutbackDurationOrBuilder()

public 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];

Returns
TypeDescription
DurationOrBuilder

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];

Returns
TypeDescription
boolean

Whether the routeUpdateWaitTime field is set.

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];

Returns
TypeDescription
boolean

Whether the stableCutbackDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KubernetesConfig.GatewayServiceMesh other)

public KubernetesConfig.GatewayServiceMesh.Builder mergeFrom(KubernetesConfig.GatewayServiceMesh other)
Parameter
NameDescription
otherKubernetesConfig.GatewayServiceMesh
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public KubernetesConfig.GatewayServiceMesh.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public KubernetesConfig.GatewayServiceMesh.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

mergeRouteUpdateWaitTime(Duration value)

public KubernetesConfig.GatewayServiceMesh.Builder mergeRouteUpdateWaitTime(Duration value)

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];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

mergeStableCutbackDuration(Duration value)

public KubernetesConfig.GatewayServiceMesh.Builder mergeStableCutbackDuration(Duration value)

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];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KubernetesConfig.GatewayServiceMesh.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

setDeployment(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setDeployment(String value)

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The deployment to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setDeploymentBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setDeploymentBytes(ByteString value)

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for deployment to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.GatewayServiceMesh.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

setHttpRoute(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setHttpRoute(String value)

Required. Name of the Gateway API HTTPRoute.

string http_route = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The httpRoute to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setHttpRouteBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setHttpRouteBytes(ByteString value)

Required. Name of the Gateway API HTTPRoute.

string http_route = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for httpRoute to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public KubernetesConfig.GatewayServiceMesh.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

setRouteUpdateWaitTime(Duration value)

public KubernetesConfig.GatewayServiceMesh.Builder setRouteUpdateWaitTime(Duration value)

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];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

setRouteUpdateWaitTime(Duration.Builder builderForValue)

public KubernetesConfig.GatewayServiceMesh.Builder setRouteUpdateWaitTime(Duration.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

setService(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setService(String value)

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The service to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setServiceBytes(ByteString value)

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setStableCutbackDuration(Duration value)

public KubernetesConfig.GatewayServiceMesh.Builder setStableCutbackDuration(Duration value)

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];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

setStableCutbackDuration(Duration.Builder builderForValue)

public KubernetesConfig.GatewayServiceMesh.Builder setStableCutbackDuration(Duration.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final KubernetesConfig.GatewayServiceMesh.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides