Class PublisherModel.CallToAction.DeployGke.Builder (3.42.0)

public static final class PublisherModel.CallToAction.DeployGke.Builder extends GeneratedMessageV3.Builder<PublisherModel.CallToAction.DeployGke.Builder> implements PublisherModel.CallToAction.DeployGkeOrBuilder

Configurations for PublisherModel GKE deployment

Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.DeployGke

Static Methods

getDescriptor()

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

Methods

addAllGkeYamlConfigs(Iterable<String> values)

public PublisherModel.CallToAction.DeployGke.Builder addAllGkeYamlConfigs(Iterable<String> values)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The gkeYamlConfigs to add.

Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

addGkeYamlConfigs(String value)

public PublisherModel.CallToAction.DeployGke.Builder addGkeYamlConfigs(String value)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gkeYamlConfigs to add.

Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

addGkeYamlConfigsBytes(ByteString value)

public PublisherModel.CallToAction.DeployGke.Builder addGkeYamlConfigsBytes(ByteString value)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the gkeYamlConfigs to add.

Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublisherModel.CallToAction.DeployGke build()
Returns
Type Description
PublisherModel.CallToAction.DeployGke

buildPartial()

public PublisherModel.CallToAction.DeployGke buildPartial()
Returns
Type Description
PublisherModel.CallToAction.DeployGke

clear()

public PublisherModel.CallToAction.DeployGke.Builder clear()
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.DeployGke.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

clearGkeYamlConfigs()

public PublisherModel.CallToAction.DeployGke.Builder clearGkeYamlConfigs()

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.DeployGke.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

clone()

public PublisherModel.CallToAction.DeployGke.Builder clone()
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.DeployGke getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.DeployGke

getDescriptorForType()

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

getGkeYamlConfigs(int index)

public String getGkeYamlConfigs(int index)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gkeYamlConfigs at the given index.

getGkeYamlConfigsBytes(int index)

public ByteString getGkeYamlConfigsBytes(int index)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gkeYamlConfigs at the given index.

getGkeYamlConfigsCount()

public int getGkeYamlConfigsCount()

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of gkeYamlConfigs.

getGkeYamlConfigsList()

public ProtocolStringList getGkeYamlConfigsList()

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the gkeYamlConfigs.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.DeployGke other)

public PublisherModel.CallToAction.DeployGke.Builder mergeFrom(PublisherModel.CallToAction.DeployGke other)
Parameter
Name Description
other PublisherModel.CallToAction.DeployGke
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PublisherModel.CallToAction.DeployGke.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.DeployGke.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setGkeYamlConfigs(int index, String value)

public PublisherModel.CallToAction.DeployGke.Builder setGkeYamlConfigs(int index, String value)

Optional. GKE deployment configuration in yaml format.

repeated string gke_yaml_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The gkeYamlConfigs to set.

Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.DeployGke.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.DeployGke.Builder
Overrides