Class ExecutionTemplate.VertexAIParameters.Builder (1.44.0)

public static final class ExecutionTemplate.VertexAIParameters.Builder extends GeneratedMessageV3.Builder<ExecutionTemplate.VertexAIParameters.Builder> implements ExecutionTemplate.VertexAIParametersOrBuilder

Parameters used in Vertex AI JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExecutionTemplate.VertexAIParameters build()
Returns
Type Description
ExecutionTemplate.VertexAIParameters

buildPartial()

public ExecutionTemplate.VertexAIParameters buildPartial()
Returns
Type Description
ExecutionTemplate.VertexAIParameters

clear()

public ExecutionTemplate.VertexAIParameters.Builder clear()
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder
Overrides

clearEnv()

public ExecutionTemplate.VertexAIParameters.Builder clearEnv()
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public ExecutionTemplate.VertexAIParameters.Builder clearNetwork()

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

string network = 1;

Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExecutionTemplate.VertexAIParameters.Builder clone()
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder
Overrides

containsEnv(String key)

public boolean containsEnv(String key)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ExecutionTemplate.VertexAIParameters getDefaultInstanceForType()
Returns
Type Description
ExecutionTemplate.VertexAIParameters

getDescriptorForType()

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

getEnv() (deprecated)

public Map<String,String> getEnv()

Use #getEnvMap() instead.

Returns
Type Description
Map<String,String>

getEnvCount()

public int getEnvCount()

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Returns
Type Description
int

getEnvMap()

public Map<String,String> getEnvMap()

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Returns
Type Description
Map<String,String>

getEnvOrDefault(String key, String defaultValue)

public String getEnvOrDefault(String key, String defaultValue)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvOrThrow(String key)

public String getEnvOrThrow(String key)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableEnv() (deprecated)

public Map<String,String> getMutableEnv()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getNetwork()

public String getNetwork()

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

string network = 1;

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

string network = 1;

Returns
Type Description
ByteString

The bytes for network.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecutionTemplate.VertexAIParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllEnv(Map<String,String> values)

public ExecutionTemplate.VertexAIParameters.Builder putAllEnv(Map<String,String> values)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

putEnv(String key, String value)

public ExecutionTemplate.VertexAIParameters.Builder putEnv(String key, String value)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameters
Name Description
key String
value String
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

removeEnv(String key)

public ExecutionTemplate.VertexAIParameters.Builder removeEnv(String key)

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/

map<string, string> env = 2;

Parameter
Name Description
key String
Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetwork(String value)

public ExecutionTemplate.VertexAIParameters.Builder setNetwork(String value)

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

string network = 1;

Parameter
Name Description
value String

The network to set.

Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public ExecutionTemplate.VertexAIParameters.Builder setNetworkBytes(ByteString value)

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

string network = 1;

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
ExecutionTemplate.VertexAIParameters.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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