Class ValidationMessage (0.15.0)

public final class ValidationMessage extends GeneratedMessageV3 implements ValidationMessageOrBuilder

Agent/flow validation message.

Protobuf type google.cloud.dialogflow.cx.v3.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()
Returns
Type Description
ValidationMessage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValidationMessage.Builder newBuilder()
Returns
Type Description
ValidationMessage.Builder

newBuilder(ValidationMessage prototype)

public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
Parameter
Name Description
prototype ValidationMessage
Returns
Type Description
ValidationMessage.Builder

parseDelimitedFrom(InputStream input)

public static ValidationMessage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidationMessage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidationMessage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidationMessage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidationMessage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidationMessage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidationMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidationMessage> parser()
Returns
Type Description
Parser<ValidationMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ValidationMessage getDefaultInstanceForType()
Returns
Type Description
ValidationMessage

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()
Returns
Type Description
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.v3.ResourceName resource_names = 6;

Parameter
Name Description
index int
Returns
Type Description
ResourceName

getResourceNamesCount()

public int getResourceNamesCount()

The resource names of the resources where the message is found.

repeated .google.cloud.dialogflow.cx.v3.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.v3.ResourceName resource_names = 6;

Returns
Type Description
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.v3.ResourceName resource_names = 6;

Parameter
Name Description
index int
Returns
Type Description
ResourceNameOrBuilder

getResourceNamesOrBuilderList()

public List<? extends ResourceNameOrBuilder> getResourceNamesOrBuilderList()

The resource names of the resources where the message is found.

repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.ResourceNameOrBuilder>

getResourceType()

public ValidationMessage.ResourceType getResourceType()

The type of the resources where the message is found.

.google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType resource_type = 1;

Returns
Type Description
ValidationMessage.ResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The type of the resources where the message is found.

.google.cloud.dialogflow.cx.v3.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.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/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.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/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.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/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.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/validation_message.proto;l=93

The names of the resources where the message is found.

repeated string resources = 2 [deprecated = true];

Returns
Type Description
ProtocolStringList

A list containing the resources.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public ValidationMessage.Severity getSeverity()

Indicates the severity of the message.

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

Returns
Type Description
ValidationMessage.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Indicates the severity of the message.

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

Returns
Type Description
int

The enum numeric value on the wire for severity.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidationMessage.Builder newBuilderForType()
Returns
Type Description
ValidationMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidationMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidationMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidationMessage.Builder toBuilder()
Returns
Type Description
ValidationMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException