Class ExecutionTemplate.VertexAIParameters.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.VertexAIParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides

build()

public ExecutionTemplate.VertexAIParameters build()
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters

buildPartial()

public ExecutionTemplate.VertexAIParameters buildPartial()
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters

clear()

public ExecutionTemplate.VertexAIParameters.Builder clear()
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides

clearEnv()

public ExecutionTemplate.VertexAIParameters.Builder clearEnv()
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionTemplate.VertexAIParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides

clone()

public ExecutionTemplate.VertexAIParameters.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public ExecutionTemplate.VertexAIParameters getDefaultInstanceForType()
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnv()

public Map<String,String> getEnv()

Use #getEnvMap() instead.

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

getMutableEnv()

public Map<String,String> getMutableEnv()

Use alternate mutation accessors instead.

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

The bytes for network.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExecutionTemplate.VertexAIParameters other)

public ExecutionTemplate.VertexAIParameters.Builder mergeFrom(ExecutionTemplate.VertexAIParameters other)
Parameter
NameDescription
otherExecutionTemplate.VertexAIParameters
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExecutionTemplate.VertexAIParameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.VertexAIParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.VertexAIParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The network to set.

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

The bytes for network to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.VertexAIParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutionTemplate.VertexAIParameters.Builder
Overrides