public static interface ExecutionTemplate.VertexAIParametersOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getEnv()
public abstract Map<String,String> getEnv()
Use #getEnvMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for network. |