public final class ValidationMessage extends GeneratedMessageV3 implements ValidationMessageOrBuilder
Agent/flow validation message.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ValidationMessage
Static Fields
DETAIL_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER
Field Value
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value
RESOURCE_NAMES_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
Field Value
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ValidationMessage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ValidationMessage.Builder newBuilder()
Returns
newBuilder(ValidationMessage prototype)
public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
Parameter
Returns
public static ValidationMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidationMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ValidationMessage parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ValidationMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidationMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ValidationMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidationMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidationMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ValidationMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ValidationMessage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ValidationMessage getDefaultInstanceForType()
Returns
getDetail()
public String getDetail()
The message detail.
string detail = 4;
Returns
Type |
Description |
String |
The detail.
|
getDetailBytes()
public ByteString getDetailBytes()
The message detail.
string detail = 4;
Returns
getParserForType()
public Parser<ValidationMessage> getParserForType()
Returns
Overrides
getResourceNames(int index)
public ResourceName getResourceNames(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter
Name |
Description |
index |
int
|
Returns
getResourceNamesCount()
public int getResourceNamesCount()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns
getResourceNamesList()
public List<ResourceName> getResourceNamesList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns
getResourceNamesOrBuilder(int index)
public ResourceNameOrBuilder getResourceNamesOrBuilder(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter
Name |
Description |
index |
int
|
Returns
getResourceNamesOrBuilderList()
public List<? extends ResourceNameOrBuilder> getResourceNamesOrBuilderList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResourceNameOrBuilder> |
|
getResourceType()
public ValidationMessage.ResourceType getResourceType()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Returns
getResourceTypeValue()
public int getResourceTypeValue()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Returns
Type |
Description |
int |
The enum numeric value on the wire for resourceType.
|
getResources(int index) (deprecated)
public String getResources(int index)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See
google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The resources at the given index.
|
getResourcesBytes(int index) (deprecated)
public ByteString getResourcesBytes(int index)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See
google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the resources at the given index.
|
getResourcesCount() (deprecated)
public int getResourcesCount()
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See
google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Returns
Type |
Description |
int |
The count of resources.
|
getResourcesList() (deprecated)
public ProtocolStringList getResourcesList()
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See
google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSeverity()
public ValidationMessage.Severity getSeverity()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Returns
getSeverityValue()
public int getSeverityValue()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Returns
Type |
Description |
int |
The enum numeric value on the wire for severity.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ValidationMessage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidationMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ValidationMessage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions