Class FlowValidationResult (0.29.0)

public final class FlowValidationResult extends GeneratedMessageV3 implements FlowValidationResultOrBuilder

The response message for Flows.GetFlowValidationResult.

Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowValidationResult

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VALIDATION_MESSAGES_FIELD_NUMBER

public static final int VALIDATION_MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FlowValidationResult getDefaultInstance()
Returns
Type Description
FlowValidationResult

getDescriptor()

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

newBuilder()

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

newBuilder(FlowValidationResult prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FlowValidationResult getDefaultInstanceForType()
Returns
Type Description
FlowValidationResult

getName()

public String getName()

The unique identifier of the flow validation result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/validationResult.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the flow validation result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/validationResult.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<FlowValidationResult> getParserForType()
Returns
Type Description
Parser<FlowValidationResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

getValidationMessages(int index)

public ValidationMessage getValidationMessages(int index)

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidationMessage

getValidationMessagesCount()

public int getValidationMessagesCount()

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;

Returns
Type Description
int

getValidationMessagesList()

public List<ValidationMessage> getValidationMessagesList()

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;

Returns
Type Description
List<ValidationMessage>

getValidationMessagesOrBuilder(int index)

public ValidationMessageOrBuilder getValidationMessagesOrBuilder(int index)

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidationMessageOrBuilder

getValidationMessagesOrBuilderList()

public List<? extends ValidationMessageOrBuilder> getValidationMessagesOrBuilderList()

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ValidationMessageOrBuilder>

hasUpdateTime()

public boolean hasUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

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 FlowValidationResult.Builder newBuilderForType()
Returns
Type Description
FlowValidationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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