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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FlowValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValidationMessages(ValidationMessage value)
public FlowValidationResult.Builder addValidationMessages(ValidationMessage value)
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
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;
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;
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;
addValidationMessagesBuilder()
public ValidationMessage.Builder addValidationMessagesBuilder()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
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
|
build()
public FlowValidationResult build()
buildPartial()
public FlowValidationResult buildPartial()
clear()
public FlowValidationResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FlowValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public FlowValidationResult.Builder clearName()
The unique identifier of the flow validation result.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult
.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FlowValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateTime()
public FlowValidationResult.Builder clearUpdateTime()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
clearValidationMessages()
public FlowValidationResult.Builder clearValidationMessages()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
clone()
public FlowValidationResult.Builder clone()
Overrides
getDefaultInstanceForType()
public FlowValidationResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
The unique identifier of the flow validation result.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult
.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The unique identifier of the flow validation result.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/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;
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
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
|
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
|
getValidationMessagesBuilderList()
public List<ValidationMessage.Builder> getValidationMessagesBuilderList()
Contains all validation messages.
repeated .google.cloud.dialogflow.cx.v3.ValidationMessage validation_messages = 2;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FlowValidationResult other)
public FlowValidationResult.Builder mergeFrom(FlowValidationResult other)
public FlowValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FlowValidationResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FlowValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateTime(Timestamp value)
public FlowValidationResult.Builder mergeUpdateTime(Timestamp value)
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public FlowValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public FlowValidationResult.Builder setName(String value)
The unique identifier of the flow validation result.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult
.
string name = 1;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public FlowValidationResult.Builder setNameBytes(ByteString value)
The unique identifier of the flow validation result.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult
.
string name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FlowValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FlowValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateTime(Timestamp value)
public FlowValidationResult.Builder setUpdateTime(Timestamp value)
Last time the flow was validated.
.google.protobuf.Timestamp update_time = 3;
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
|
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;
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;