Class RuntimeConfig.CodeInterpreterRuntimeConfig.Builder (3.59.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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
Overrides

build()

public RuntimeConfig.CodeInterpreterRuntimeConfig build()

buildPartial()

public RuntimeConfig.CodeInterpreterRuntimeConfig buildPartial()

clear()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public RuntimeConfig.CodeInterpreterRuntimeConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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