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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExecuteExtensionResponse build()
Returns
TypeDescription
ExecuteExtensionResponse

buildPartial()

public ExecuteExtensionResponse buildPartial()
Returns
TypeDescription
ExecuteExtensionResponse

clear()

public ExecuteExtensionResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExecuteExtensionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExecuteExtensionResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for content.

getDefaultInstanceForType()

public ExecuteExtensionResponse getDefaultInstanceForType()
Returns
TypeDescription
ExecuteExtensionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExecuteExtensionResponse other)

public ExecuteExtensionResponse.Builder mergeFrom(ExecuteExtensionResponse other)
Parameter
NameDescription
otherExecuteExtensionResponse
Returns
TypeDescription
ExecuteExtensionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecuteExtensionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The content to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for content to set.

Returns
TypeDescription
ExecuteExtensionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ExecuteExtensionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecuteExtensionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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