Class SubAgent (4.7.0)

public final class SubAgent extends GeneratedMessageV3 implements SubAgentOrBuilder

Contains basic configuration for a sub-agent.

Protobuf type google.cloud.dialogflow.v2beta1.SubAgent

Implements

SubAgentOrBuilder

Static Fields

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubAgent getDefaultInstance()
Returns
TypeDescription
SubAgent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SubAgent.Builder newBuilder()
Returns
TypeDescription
SubAgent.Builder

newBuilder(SubAgent prototype)

public static SubAgent.Builder newBuilder(SubAgent prototype)
Parameter
NameDescription
prototypeSubAgent
Returns
TypeDescription
SubAgent.Builder

parseDelimitedFrom(InputStream input)

public static SubAgent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SubAgent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubAgent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubAgent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SubAgent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SubAgent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubAgent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubAgent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SubAgent> parser()
Returns
TypeDescription
Parser<SubAgent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SubAgent getDefaultInstanceForType()
Returns
TypeDescription
SubAgent

getEnvironment()

public String getEnvironment()

Optional. The unique identifier (environment name in dialogflow console) of this sub-agent environment. Assumes draft environment if environment is not set.

string environment = 2;

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Optional. The unique identifier (environment name in dialogflow console) of this sub-agent environment. Assumes draft environment if environment is not set.

string environment = 2;

Returns
TypeDescription
ByteString

The bytes for environment.

getParserForType()

public Parser<SubAgent> getParserForType()
Returns
TypeDescription
Parser<SubAgent>
Overrides

getProject()

public String getProject()

Required. The project of this agent. Format: projects/<Project ID> or projects/<Project ID>/locations/<Location ID>.

string project = 1;

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. The project of this agent. Format: projects/<Project ID> or projects/<Project ID>/locations/<Location ID>.

string project = 1;

Returns
TypeDescription
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SubAgent.Builder newBuilderForType()
Returns
TypeDescription
SubAgent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubAgent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SubAgent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SubAgent.Builder toBuilder()
Returns
TypeDescription
SubAgent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException