Class FlowValidationResult.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.ValidationMessage>
Returns
TypeDescription
FlowValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FlowValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueValidationMessage
Returns
TypeDescription
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
NameDescription
builderForValueValidationMessage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueValidationMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValidationMessage.Builder
Returns
TypeDescription
FlowValidationResult.Builder

addValidationMessagesBuilder()

public ValidationMessage.Builder addValidationMessagesBuilder()

Contains all validation messages.

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

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

build()

public FlowValidationResult build()
Returns
TypeDescription
FlowValidationResult

buildPartial()

public FlowValidationResult buildPartial()
Returns
TypeDescription
FlowValidationResult

clear()

public FlowValidationResult.Builder clear()
Returns
TypeDescription
FlowValidationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FlowValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FlowValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FlowValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FlowValidationResult.Builder
Overrides

clearUpdateTime()

public FlowValidationResult.Builder clearUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
FlowValidationResult.Builder

clearValidationMessages()

public FlowValidationResult.Builder clearValidationMessages()

Contains all validation messages.

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

Returns
TypeDescription
FlowValidationResult.Builder

clone()

public FlowValidationResult.Builder clone()
Returns
TypeDescription
FlowValidationResult.Builder
Overrides

getDefaultInstanceForType()

public FlowValidationResult getDefaultInstanceForType()
Returns
TypeDescription
FlowValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last time the flow was validated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getValidationMessages(int index)

public ValidationMessage getValidationMessages(int index)

Contains all validation messages.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ValidationMessage.Builder

getValidationMessagesBuilderList()

public List<ValidationMessage.Builder> getValidationMessagesBuilderList()

Contains all validation messages.

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

Returns
TypeDescription
List<Builder>

getValidationMessagesCount()

public int getValidationMessagesCount()

Contains all validation messages.

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

Returns
TypeDescription
int

getValidationMessagesList()

public List<ValidationMessage> getValidationMessagesList()

Contains all validation messages.

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

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

getValidationMessagesOrBuilderList()

public List<? extends ValidationMessageOrBuilder> getValidationMessagesOrBuilderList()

Contains all validation messages.

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

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FlowValidationResult other)

public FlowValidationResult.Builder mergeFrom(FlowValidationResult other)
Parameter
NameDescription
otherFlowValidationResult
Returns
TypeDescription
FlowValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FlowValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FlowValidationResult.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FlowValidationResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FlowValidationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FlowValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FlowValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FlowValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FlowValidationResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FlowValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueValidationMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValidationMessage.Builder
Returns
TypeDescription
FlowValidationResult.Builder