Class RetrieveToolSchemaResponse (0.1.0)

public final class RetrieveToolSchemaResponse extends GeneratedMessage implements RetrieveToolSchemaResponseOrBuilder

Response message for ToolService.RetrieveToolSchema.

Protobuf type google.cloud.ces.v1.RetrieveToolSchemaResponse

Static Fields

INPUT_SCHEMA_FIELD_NUMBER

public static final int INPUT_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_SCHEMA_FIELD_NUMBER

public static final int OUTPUT_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

TOOLSET_TOOL_FIELD_NUMBER

public static final int TOOLSET_TOOL_FIELD_NUMBER
Field Value
Type Description
int

TOOL_FIELD_NUMBER

public static final int TOOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetrieveToolSchemaResponse getDefaultInstance()
Returns
Type Description
RetrieveToolSchemaResponse

getDescriptor()

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

newBuilder()

public static RetrieveToolSchemaResponse.Builder newBuilder()
Returns
Type Description
RetrieveToolSchemaResponse.Builder

newBuilder(RetrieveToolSchemaResponse prototype)

public static RetrieveToolSchemaResponse.Builder newBuilder(RetrieveToolSchemaResponse prototype)
Parameter
Name Description
prototype RetrieveToolSchemaResponse
Returns
Type Description
RetrieveToolSchemaResponse.Builder

parseDelimitedFrom(InputStream input)

public static RetrieveToolSchemaResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RetrieveToolSchemaResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetrieveToolSchemaResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetrieveToolSchemaResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RetrieveToolSchemaResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RetrieveToolSchemaResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetrieveToolSchemaResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolSchemaResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RetrieveToolSchemaResponse> parser()
Returns
Type Description
Parser<RetrieveToolSchemaResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RetrieveToolSchemaResponse getDefaultInstanceForType()
Returns
Type Description
RetrieveToolSchemaResponse

getInputSchema()

public Schema getInputSchema()

Required. The schema of the tool input parameters.

.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Schema

The inputSchema.

getInputSchemaOrBuilder()

public SchemaOrBuilder getInputSchemaOrBuilder()

Required. The schema of the tool input parameters.

.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SchemaOrBuilder

getOutputSchema()

public Schema getOutputSchema()

Required. The schema of the tool output parameters.

.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Schema

The outputSchema.

getOutputSchemaOrBuilder()

public SchemaOrBuilder getOutputSchemaOrBuilder()

Required. The schema of the tool output parameters.

.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SchemaOrBuilder

getParserForType()

public Parser<RetrieveToolSchemaResponse> getParserForType()
Returns
Type Description
Parser<RetrieveToolSchemaResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTool()

public String getTool()

The name of the tool that the schema is for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

string tool = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The tool.

getToolBytes()

public ByteString getToolBytes()

The name of the tool that the schema is for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

string tool = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for tool.

getToolIdentifierCase()

public RetrieveToolSchemaResponse.ToolIdentifierCase getToolIdentifierCase()
Returns
Type Description
RetrieveToolSchemaResponse.ToolIdentifierCase

getToolsetTool()

public ToolsetTool getToolsetTool()

The toolset tool that the schema is for.

.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;

Returns
Type Description
ToolsetTool

The toolsetTool.

getToolsetToolOrBuilder()

public ToolsetToolOrBuilder getToolsetToolOrBuilder()

The toolset tool that the schema is for.

.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;

Returns
Type Description
ToolsetToolOrBuilder

hasInputSchema()

public boolean hasInputSchema()

Required. The schema of the tool input parameters.

.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inputSchema field is set.

hasOutputSchema()

public boolean hasOutputSchema()

Required. The schema of the tool output parameters.

.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputSchema field is set.

hasTool()

public boolean hasTool()

The name of the tool that the schema is for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

string tool = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the tool field is set.

hasToolsetTool()

public boolean hasToolsetTool()

The toolset tool that the schema is for.

.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;

Returns
Type Description
boolean

Whether the toolsetTool field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RetrieveToolSchemaResponse.Builder newBuilderForType()
Returns
Type Description
RetrieveToolSchemaResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RetrieveToolSchemaResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RetrieveToolSchemaResponse.Builder
Overrides

toBuilder()

public RetrieveToolSchemaResponse.Builder toBuilder()
Returns
Type Description
RetrieveToolSchemaResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException