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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.VertexAIParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExecutionTemplate.VertexAIParameters build()
Returns
buildPartial()
public ExecutionTemplate.VertexAIParameters buildPartial()
Returns
clear()
public ExecutionTemplate.VertexAIParameters.Builder clear()
Returns
Overrides
clearEnv()
public ExecutionTemplate.VertexAIParameters.Builder clearEnv()
Returns
clearField(Descriptors.FieldDescriptor field)
public ExecutionTemplate.VertexAIParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecutionTemplate.VertexAIParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExecutionTemplate.VertexAIParameters.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public ExecutionTemplate.VertexAIParameters getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnv()
public Map<String,String> getEnv()
Returns
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
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
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
Returns
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
Returns
getMutableEnv()
public Map<String,String> getMutableEnv()
Use alternate mutation accessors instead.
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExecutionTemplate.VertexAIParameters other)
public ExecutionTemplate.VertexAIParameters.Builder mergeFrom(ExecutionTemplate.VertexAIParameters other)
Parameter
Returns
public ExecutionTemplate.VertexAIParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExecutionTemplate.VertexAIParameters.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.VertexAIParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.VertexAIParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExecutionTemplate.VertexAIParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.VertexAIParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides