Class PublisherModel.CallToAction.DeployGke.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<String>

The gkeYamlConfigs to add.

Returns
TypeDescription
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
NameDescription
valueString

The gkeYamlConfigs to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the gkeYamlConfigs to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

build()

public PublisherModel.CallToAction.DeployGke build()
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke

buildPartial()

public PublisherModel.CallToAction.DeployGke buildPartial()
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke

clear()

public PublisherModel.CallToAction.DeployGke.Builder clear()
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.DeployGke.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.DeployGke.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

clone()

public PublisherModel.CallToAction.DeployGke.Builder clone()
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.DeployGke getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the gkeYamlConfigs.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.DeployGke other)

public PublisherModel.CallToAction.DeployGke.Builder mergeFrom(PublisherModel.CallToAction.DeployGke other)
Parameter
NameDescription
otherPublisherModel.CallToAction.DeployGke
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PublisherModel.CallToAction.DeployGke.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.DeployGke.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.DeployGke.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The gkeYamlConfigs to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.DeployGke.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublisherModel.CallToAction.DeployGke.Builder
Overrides