public final class Phrase extends GeneratedMessageV3 implements PhraseOrBuilder
Text input which can be used for prompt or banned phrases.
Protobuf type google.cloud.dialogflow.cx.v3.Phrase
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Phrase getDefaultInstance()
Returns |
Type |
Description |
Phrase |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Phrase.Builder newBuilder()
newBuilder(Phrase prototype)
public static Phrase.Builder newBuilder(Phrase prototype)
Parameter |
Name |
Description |
prototype |
Phrase
|
public static Phrase parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Phrase |
|
public static Phrase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
parseFrom(byte[] data)
public static Phrase parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Phrase |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Phrase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
parseFrom(ByteString data)
public static Phrase parseFrom(ByteString data)
Returns |
Type |
Description |
Phrase |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Phrase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
public static Phrase parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Phrase |
|
public static Phrase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
public static Phrase parseFrom(InputStream input)
Returns |
Type |
Description |
Phrase |
|
public static Phrase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
parseFrom(ByteBuffer data)
public static Phrase parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Phrase |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Phrase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Phrase |
|
parser()
public static Parser<Phrase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Phrase getDefaultInstanceForType()
Returns |
Type |
Description |
Phrase |
|
getParserForType()
public Parser<Phrase> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getText()
Required. Text input which can be used for prompt or banned phrases.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Required. Text input which can be used for prompt or banned phrases.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Phrase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Phrase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Phrase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides