Class FlowValidationResult.Builder (0.15.0)

public static final class FlowValidationResult.Builder extends GeneratedMessageV3.Builder<FlowValidationResult.Builder> implements FlowValidationResultOrBuilder

The response message for Flows.GetFlowValidationResult.

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

Static Methods

getDescriptor()

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

Methods

addAllValidationMessages(Iterable<? extends ValidationMessage> values)

public FlowValidationResult.Builder addAllValidationMessages(Iterable<? extends ValidationMessage> values)

Contains all validation messages.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.ValidationMessage>
Returns
Type Description
FlowValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlowValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlowValidationResult.Builder
Overrides

addValidationMessages(ValidationMessage value)

public FlowValidationResult.Builder addValidationMessages(ValidationMessage value)

Contains all validation messages.

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

Parameter
Name Description
value ValidationMessage
Returns
Type Description
FlowValidationResult.Builder

addValidationMessages(ValidationMessage.Builder builderForValue)

public FlowValidationResult.Builder addValidationMessages(ValidationMessage.Builder builderForValue)

Contains all validation messages.

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

Parameter
Name Description
builderForValue ValidationMessage.Builder
Returns
Type Description
FlowValidationResult.Builder

addValidationMessages(int index, ValidationMessage value)

public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage value)

Contains all validation messages.

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

Parameters
Name Description
index int
value ValidationMessage
Returns
Type Description
FlowValidationResult.Builder

addValidationMessages(int index, ValidationMessage.Builder builderForValue)

public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage.Builder builderForValue)

Contains all validation messages.

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

Parameters
Name Description
index int
builderForValue ValidationMessage.Builder
Returns
Type Description
FlowValidationResult.Builder

addValidationMessagesBuilder()

public ValidationMessage.Builder addValidationMessagesBuilder()

Contains all validation messages.

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

Returns
Type Description
ValidationMessage.Builder

addValidationMessagesBuilder(int index)

public ValidationMessage.Builder addValidationMessagesBuilder(int index)

Contains all validation messages.

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

Parameter
Name Description
index int
Returns
Type Description
ValidationMessage.Builder

build()

public FlowValidationResult build()
Returns
Type Description
FlowValidationResult

buildPartial()

public FlowValidationResult buildPartial()
Returns
Type Description
FlowValidationResult

clear()

public FlowValidationResult.Builder clear()
Returns
Type Description
FlowValidationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlowValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FlowValidationResult.Builder
Overrides

clearName()

public FlowValidationResult.Builder clearName()

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
FlowValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FlowValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FlowValidationResult.Builder
Overrides

clearUpdateTime()

public FlowValidationResult.Builder clearUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
FlowValidationResult.Builder

clearValidationMessages()

public FlowValidationResult.Builder clearValidationMessages()

Contains all validation messages.

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

Returns
Type Description
FlowValidationResult.Builder

clone()

public FlowValidationResult.Builder clone()
Returns
Type Description
FlowValidationResult.Builder
Overrides

getDefaultInstanceForType()

public FlowValidationResult getDefaultInstanceForType()
Returns
Type Description
FlowValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getUpdateTime()

public Timestamp getUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

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.v3.ValidationMessage validation_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidationMessage

getValidationMessagesBuilder(int index)

public ValidationMessage.Builder getValidationMessagesBuilder(int index)

Contains all validation messages.

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

Parameter
Name Description
index int
Returns
Type Description
ValidationMessage.Builder

getValidationMessagesBuilderList()

public List<ValidationMessage.Builder> getValidationMessagesBuilderList()

Contains all validation messages.

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

Returns
Type Description
List<Builder>

getValidationMessagesCount()

public int getValidationMessagesCount()

Contains all validation messages.

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

Returns
Type Description
int

getValidationMessagesList()

public List<ValidationMessage> getValidationMessagesList()

Contains all validation messages.

repeated .google.cloud.dialogflow.cx.v3.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.v3.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.v3.ValidationMessage validation_messages = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlowValidationResult other)

public FlowValidationResult.Builder mergeFrom(FlowValidationResult other)
Parameter
Name Description
other FlowValidationResult
Returns
Type Description
FlowValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlowValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FlowValidationResult.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public FlowValidationResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FlowValidationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlowValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlowValidationResult.Builder
Overrides

mergeUpdateTime(Timestamp value)

public FlowValidationResult.Builder mergeUpdateTime(Timestamp value)

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
FlowValidationResult.Builder

removeValidationMessages(int index)

public FlowValidationResult.Builder removeValidationMessages(int index)

Contains all validation messages.

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

Parameter
Name Description
index int
Returns
Type Description
FlowValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FlowValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FlowValidationResult.Builder
Overrides

setName(String value)

public FlowValidationResult.Builder setName(String value)

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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FlowValidationResult.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FlowValidationResult.Builder setNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FlowValidationResult.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FlowValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FlowValidationResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlowValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FlowValidationResult.Builder
Overrides

setUpdateTime(Timestamp value)

public FlowValidationResult.Builder setUpdateTime(Timestamp value)

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
FlowValidationResult.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FlowValidationResult.Builder setUpdateTime(Timestamp.Builder builderForValue)

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FlowValidationResult.Builder

setValidationMessages(int index, ValidationMessage value)

public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage value)

Contains all validation messages.

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

Parameters
Name Description
index int
value ValidationMessage
Returns
Type Description
FlowValidationResult.Builder

setValidationMessages(int index, ValidationMessage.Builder builderForValue)

public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage.Builder builderForValue)

Contains all validation messages.

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

Parameters
Name Description
index int
builderForValue ValidationMessage.Builder
Returns
Type Description
FlowValidationResult.Builder