Class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuntimeConfig.CodeInterpreterRuntimeConfig build()
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig

buildPartial()

public RuntimeConfig.CodeInterpreterRuntimeConfig buildPartial()
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig

clear()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clear()
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

clearFileInputGcsBucket()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearFileInputGcsBucket()

Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs.

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

Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

clearFileOutputGcsBucket()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearFileOutputGcsBucket()

Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

clone()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clone()
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

getDefaultInstanceForType()

public RuntimeConfig.CodeInterpreterRuntimeConfig getDefaultInstanceForType()
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFileInputGcsBucket()

public String getFileInputGcsBucket()

Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs.

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

Returns
TypeDescription
String

The fileInputGcsBucket.

getFileInputGcsBucketBytes()

public ByteString getFileInputGcsBucketBytes()

Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs.

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

Returns
TypeDescription
ByteString

The bytes for fileInputGcsBucket.

getFileOutputGcsBucket()

public String getFileOutputGcsBucket()

Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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
TypeDescription
String

The fileOutputGcsBucket.

getFileOutputGcsBucketBytes()

public ByteString getFileOutputGcsBucketBytes()

Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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
TypeDescription
ByteString

The bytes for fileOutputGcsBucket.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuntimeConfig.CodeInterpreterRuntimeConfig other)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeFrom(RuntimeConfig.CodeInterpreterRuntimeConfig other)
Parameter
NameDescription
otherRuntimeConfig.CodeInterpreterRuntimeConfig
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.CodeInterpreterRuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides

setFileInputGcsBucket(String value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileInputGcsBucket(String value)

Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs.

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

Parameter
NameDescription
valueString

The fileInputGcsBucket to set.

Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileInputGcsBucketBytes(ByteString value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileInputGcsBucketBytes(ByteString value)

Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs.

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

Parameter
NameDescription
valueByteString

The bytes for fileInputGcsBucket to set.

Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileOutputGcsBucket(String value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileOutputGcsBucket(String value)

Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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
NameDescription
valueString

The fileOutputGcsBucket to set.

Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

This builder for chaining.

setFileOutputGcsBucketBytes(ByteString value)

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setFileOutputGcsBucketBytes(ByteString value)

Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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
NameDescription
valueByteString

The bytes for fileOutputGcsBucket to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.CodeInterpreterRuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Overrides