public final class ValidationMessage extends GeneratedMessageV3 implements ValidationMessageOrBuilder
Agent/flow validation message.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ValidationMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 prototype)
public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
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.
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ValidationMessage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides