Class CloudRunConfig.Builder (2.58.0)

public static final class CloudRunConfig.Builder extends GeneratedMessageV3.Builder<CloudRunConfig.Builder> implements CloudRunConfigOrBuilder

Configuration options for the Cloud Run feature.

Protobuf type google.container.v1.CloudRunConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudRunConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudRunConfig.Builder
Overrides

build()

public CloudRunConfig build()
Returns
Type Description
CloudRunConfig

buildPartial()

public CloudRunConfig buildPartial()
Returns
Type Description
CloudRunConfig

clear()

public CloudRunConfig.Builder clear()
Returns
Type Description
CloudRunConfig.Builder
Overrides

clearDisabled()

public CloudRunConfig.Builder clearDisabled()

Whether Cloud Run addon is enabled for this cluster.

bool disabled = 1;

Returns
Type Description
CloudRunConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudRunConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudRunConfig.Builder
Overrides

clearLoadBalancerType()

public CloudRunConfig.Builder clearLoadBalancerType()

Which load balancer type is installed for Cloud Run.

.google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3;

Returns
Type Description
CloudRunConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudRunConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudRunConfig.Builder
Overrides

clone()

public CloudRunConfig.Builder clone()
Returns
Type Description
CloudRunConfig.Builder
Overrides

getDefaultInstanceForType()

public CloudRunConfig getDefaultInstanceForType()
Returns
Type Description
CloudRunConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

Whether Cloud Run addon is enabled for this cluster.

bool disabled = 1;

Returns
Type Description
boolean

The disabled.

getLoadBalancerType()

public CloudRunConfig.LoadBalancerType getLoadBalancerType()

Which load balancer type is installed for Cloud Run.

.google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3;

Returns
Type Description
CloudRunConfig.LoadBalancerType

The loadBalancerType.

getLoadBalancerTypeValue()

public int getLoadBalancerTypeValue()

Which load balancer type is installed for Cloud Run.

.google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for loadBalancerType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudRunConfig other)

public CloudRunConfig.Builder mergeFrom(CloudRunConfig other)
Parameter
Name Description
other CloudRunConfig
Returns
Type Description
CloudRunConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudRunConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudRunConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudRunConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudRunConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudRunConfig.Builder
Overrides

setDisabled(boolean value)

public CloudRunConfig.Builder setDisabled(boolean value)

Whether Cloud Run addon is enabled for this cluster.

bool disabled = 1;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
CloudRunConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudRunConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudRunConfig.Builder
Overrides

setLoadBalancerType(CloudRunConfig.LoadBalancerType value)

public CloudRunConfig.Builder setLoadBalancerType(CloudRunConfig.LoadBalancerType value)

Which load balancer type is installed for Cloud Run.

.google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3;

Parameter
Name Description
value CloudRunConfig.LoadBalancerType

The loadBalancerType to set.

Returns
Type Description
CloudRunConfig.Builder

This builder for chaining.

setLoadBalancerTypeValue(int value)

public CloudRunConfig.Builder setLoadBalancerTypeValue(int value)

Which load balancer type is installed for Cloud Run.

.google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for loadBalancerType to set.

Returns
Type Description
CloudRunConfig.Builder

This builder for chaining.

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

public CloudRunConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudRunConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudRunConfig.Builder
Overrides