Class ExecuteExtensionResponse.Builder (3.52.0)

public static final class ExecuteExtensionResponse.Builder extends GeneratedMessageV3.Builder<ExecuteExtensionResponse.Builder> implements ExecuteExtensionResponseOrBuilder

Response message for ExtensionExecutionService.ExecuteExtension.

Protobuf type google.cloud.aiplatform.v1beta1.ExecuteExtensionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExecuteExtensionResponse build()
Returns
Type Description
ExecuteExtensionResponse

buildPartial()

public ExecuteExtensionResponse buildPartial()
Returns
Type Description
ExecuteExtensionResponse

clear()

public ExecuteExtensionResponse.Builder clear()
Returns
Type Description
ExecuteExtensionResponse.Builder
Overrides

clearContent()

public ExecuteExtensionResponse.Builder clearContent()

Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.

string content = 2;

Returns
Type Description
ExecuteExtensionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecuteExtensionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExecuteExtensionResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExecuteExtensionResponse.Builder clone()
Returns
Type Description
ExecuteExtensionResponse.Builder
Overrides

getContent()

public String getContent()

Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public ExecuteExtensionResponse getDefaultInstanceForType()
Returns
Type Description
ExecuteExtensionResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecuteExtensionResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setContent(String value)

public ExecuteExtensionResponse.Builder setContent(String value)

Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.

string content = 2;

Parameter
Name Description
value String

The content to set.

Returns
Type Description
ExecuteExtensionResponse.Builder

This builder for chaining.

setContentBytes(ByteString value)

public ExecuteExtensionResponse.Builder setContentBytes(ByteString value)

Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.

string content = 2;

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
ExecuteExtensionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExecuteExtensionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecuteExtensionResponse.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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