Interface ExecutionTemplate.VertexAIParametersOrBuilder (1.39.0)

public static interface ExecutionTemplate.VertexAIParametersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEnv(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getEnv() (deprecated)

public abstract Map<String,String> getEnv()

Use #getEnvMap() instead.

Returns
TypeDescription
Map<String,String>

getEnvCount()

public abstract 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
TypeDescription
int

getEnvMap()

public abstract 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
TypeDescription
Map<String,String>

getEnvOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getEnvOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String

getNetwork()

public abstract 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
TypeDescription
String

The network.

getNetworkBytes()

public abstract 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
TypeDescription
ByteString

The bytes for network.