Class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder (3.84.0)

public static final class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder extends GeneratedMessage.Builder<RuntimeConfig.CodeInterpreterRuntimeConfig.Builder> implements RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig

Static Methods

getDescriptor()

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

Methods

build()

public RuntimeConfig.CodeInterpreterRuntimeConfig build()
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig

buildPartial()

public RuntimeConfig.CodeInterpreterRuntimeConfig buildPartial()
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig

clear()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clear()
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

clearFileInputGcsBucket()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearFileInputGcsBucket()

Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs.

string file_input_gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

clearFileOutputGcsBucket()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearFileOutputGcsBucket()

Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body.

string file_output_gcs_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public RuntimeConfig.CodeInterpreterRuntimeConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig

getDescriptorForType()

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

getFileInputGcsBucket()

public String getFileInputGcsBucket()

Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs.

string file_input_gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fileInputGcsBucket.

getFileInputGcsBucketBytes()

public ByteString getFileInputGcsBucketBytes()

Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs.

string file_input_gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fileInputGcsBucket.

getFileOutputGcsBucket()

public String getFileOutputGcsBucket()

Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body.

string file_output_gcs_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fileOutputGcsBucket.

getFileOutputGcsBucketBytes()

public ByteString getFileOutputGcsBucketBytes()

Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body.

string file_output_gcs_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fileOutputGcsBucket.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeConfig.CodeInterpreterRuntimeConfig other)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeFrom(RuntimeConfig.CodeInterpreterRuntimeConfig other)
Parameter
Name Description
other RuntimeConfig.CodeInterpreterRuntimeConfig
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

setFileInputGcsBucket(String value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileInputGcsBucket(String value)

Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs.

string file_input_gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fileInputGcsBucket to set.

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileInputGcsBucketBytes(ByteString value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileInputGcsBucketBytes(ByteString value)

Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs.

string file_input_gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fileInputGcsBucket to set.

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileOutputGcsBucket(String value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileOutputGcsBucket(String value)

Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body.

string file_output_gcs_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fileOutputGcsBucket to set.

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileOutputGcsBucketBytes(ByteString value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileOutputGcsBucketBytes(ByteString value)

Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body.

string file_output_gcs_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fileOutputGcsBucket to set.

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.