Class ValidationMessage (0.14.0)

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
TypeDescription
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_NAMES_FIELD_NUMBER

public static final int RESOURCE_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidationMessage getDefaultInstance()
Returns
TypeDescription
ValidationMessage

getDescriptor()

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

newBuilder()

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

newBuilder(ValidationMessage prototype)

public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
Parameter
NameDescription
prototypeValidationMessage
Returns
TypeDescription
ValidationMessage.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ValidationMessage getDefaultInstanceForType()
Returns
TypeDescription
ValidationMessage

getDetail()

public String getDetail()

The message detail.

string detail = 4;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

The message detail.

string detail = 4;

Returns
TypeDescription
ByteString

The bytes for detail.

getParserForType()

public Parser<ValidationMessage> getParserForType()
Returns
TypeDescription
Parser<ValidationMessage>
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
NameDescription
indexint
Returns
TypeDescription
ResourceName

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
TypeDescription
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;

Returns
TypeDescription
List<ResourceName>

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
NameDescription
indexint
Returns
TypeDescription
ResourceNameOrBuilder

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
TypeDescription
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
TypeDescription
ValidationMessage.ResourceType

The resourceType.

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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the resources.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public ValidationMessage.Severity getSeverity()

Indicates the severity of the message.

.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;

Returns
TypeDescription
ValidationMessage.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Indicates the severity of the message.

.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

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 ValidationMessage.Builder newBuilderForType()
Returns
TypeDescription
ValidationMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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