Class ExecuteExtensionResponse.Builder (3.88.0)

public static final class ExecuteExtensionResponse.Builder extends GeneratedMessage.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

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.

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

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.