Class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder (3.56.0)

public static final class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides