Send feedback Class ValidationMessage (0.26.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.26.0keyboard_arrow_down
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 Type Description int
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value Type Description int
RESOURCE_NAMES_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
Field Value Type Description int
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value Type Description int
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static ValidationMessage getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ValidationMessage . Builder newBuilder ()
newBuilder(ValidationMessage )
public static ValidationMessage . Builder newBuilder ( ValidationMessage )
public static ValidationMessage parseDelimitedFrom ( InputStream input )
public static ValidationMessage parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ValidationMessage parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ValidationMessage parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ValidationMessage parseFrom ( CodedInputStream input )
public static ValidationMessage parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ValidationMessage parseFrom ( InputStream input )
public static ValidationMessage parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ValidationMessage parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidationMessage parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ValidationMessage> parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides getDefaultInstanceForType()
public ValidationMessage getDefaultInstanceForType ()
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 Type Description ByteString
The bytes for detail.
getParserForType()
public Parser<ValidationMessage> getParserForType ()
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
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 Type Description int
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;
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
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;
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];
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides getSeverity()
public ValidationMessage . Severity getSeverity ()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
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 ()
Overrides hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public ValidationMessage . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidationMessage . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public ValidationMessage . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]