public static final class TypeSchema.SchemaReference extends GeneratedMessage implements TypeSchema.SchemaReferenceOrBuilderA reference to the schema of an existing tool.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TypeSchema.SchemaReference
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TypeSchema.SchemaReferenceImplements
TypeSchema.SchemaReferenceOrBuilderStatic Fields
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_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 TypeSchema.SchemaReference getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TypeSchema.SchemaReference.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference.Builder |
|
newBuilder(TypeSchema.SchemaReference prototype)
public static TypeSchema.SchemaReference.Builder newBuilder(TypeSchema.SchemaReference prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TypeSchema.SchemaReference |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference.Builder |
|
parseDelimitedFrom(InputStream input)
public static TypeSchema.SchemaReference parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TypeSchema.SchemaReference parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TypeSchema.SchemaReference parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TypeSchema.SchemaReference parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TypeSchema.SchemaReference parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TypeSchema.SchemaReference parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TypeSchema.SchemaReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TypeSchema.SchemaReference> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SchemaReference> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TypeSchema.SchemaReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference |
|
getParserForType()
public Parser<TypeSchema.SchemaReference> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SchemaReference> |
|
getSchema()
public String getSchema()The name of the schema.
string schema = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The schema. |
getSchemaBytes()
public ByteString getSchemaBytes()The name of the schema.
string schema = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for schema. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTool()
public String getTool() The tool that contains this schema definition.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
string tool = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public ByteString getToolBytes() The tool that contains this schema definition.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
string tool = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TypeSchema.SchemaReference.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TypeSchema.SchemaReference.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference.Builder |
|
toBuilder()
public TypeSchema.SchemaReference.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TypeSchema.SchemaReference.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|