public static final class ToolUseExample.ExtensionOperation.Builder extends GeneratedMessage.Builder<ToolUseExample.ExtensionOperation.Builder> implements ToolUseExample.ExtensionOperationOrBuilderIdentifies one operation of the extension.
Protobuf type google.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ToolUseExample.ExtensionOperation.BuilderImplements
ToolUseExample.ExtensionOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ToolUseExample.ExtensionOperation build()| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation |
|
buildPartial()
public ToolUseExample.ExtensionOperation buildPartial()| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation |
|
clear()
public ToolUseExample.ExtensionOperation.Builder clear()| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
|
clearExtension()
public ToolUseExample.ExtensionOperation.Builder clearExtension()Resource name of the extension.
string extension = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |
clearOperationId()
public ToolUseExample.ExtensionOperation.Builder clearOperationId()Required. Operation ID of the extension.
string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ToolUseExample.ExtensionOperation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExtension()
public String getExtension()Resource name of the extension.
string extension = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The extension. |
getExtensionBytes()
public ByteString getExtensionBytes()Resource name of the extension.
string extension = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for extension. |
getOperationId()
public String getOperationId()Required. Operation ID of the extension.
string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The operationId. |
getOperationIdBytes()
public ByteString getOperationIdBytes()Required. Operation ID of the extension.
string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operationId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ToolUseExample.ExtensionOperation other)
public ToolUseExample.ExtensionOperation.Builder mergeFrom(ToolUseExample.ExtensionOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolUseExample.ExtensionOperation |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolUseExample.ExtensionOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ToolUseExample.ExtensionOperation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
|
setExtension(String value)
public ToolUseExample.ExtensionOperation.Builder setExtension(String value)Resource name of the extension.
string extension = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe extension to set. |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |
setExtensionBytes(ByteString value)
public ToolUseExample.ExtensionOperation.Builder setExtensionBytes(ByteString value)Resource name of the extension.
string extension = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for extension to set. |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |
setOperationId(String value)
public ToolUseExample.ExtensionOperation.Builder setOperationId(String value)Required. Operation ID of the extension.
string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operationId to set. |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |
setOperationIdBytes(ByteString value)
public ToolUseExample.ExtensionOperation.Builder setOperationIdBytes(ByteString value)Required. Operation ID of the extension.
string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operationId to set. |
| Returns | |
|---|---|
| Type | Description |
ToolUseExample.ExtensionOperation.Builder |
This builder for chaining. |