Class FlowValidationResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder>
com.google.cloud.dialogflow.cx.v3beta1.FlowValidationResult.Builder
All Implemented Interfaces:
FlowValidationResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FlowValidationResult

public static final class FlowValidationResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder> implements FlowValidationResultOrBuilder
 The response message for
 [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowValidationResult
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder>
    • getDefaultInstanceForType

      public FlowValidationResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FlowValidationResult build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FlowValidationResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FlowValidationResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowValidationResult.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FlowValidationResult.Builder>
    • mergeFrom

      public FlowValidationResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowValidationResult.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The unique identifier of the flow validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`.
       
      string name = 1;
      Specified by:
      getName in interface FlowValidationResultOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the flow validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface FlowValidationResultOrBuilder
      Returns:
      The bytes for name.
    • setName

      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;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setNameBytes

      public FlowValidationResult.Builder setNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of the flow validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getValidationMessagesList

      public List<ValidationMessage> getValidationMessagesList()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
      Specified by:
      getValidationMessagesList in interface FlowValidationResultOrBuilder
    • getValidationMessagesCount

      public int getValidationMessagesCount()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
      Specified by:
      getValidationMessagesCount in interface FlowValidationResultOrBuilder
    • getValidationMessages

      public ValidationMessage getValidationMessages(int index)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
      Specified by:
      getValidationMessages in interface FlowValidationResultOrBuilder
    • setValidationMessages

      public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage value)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • setValidationMessages

      public FlowValidationResult.Builder setValidationMessages(int index, ValidationMessage.Builder builderForValue)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addValidationMessages

      public FlowValidationResult.Builder addValidationMessages(ValidationMessage value)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addValidationMessages

      public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage value)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addValidationMessages

      public FlowValidationResult.Builder addValidationMessages(ValidationMessage.Builder builderForValue)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addValidationMessages

      public FlowValidationResult.Builder addValidationMessages(int index, ValidationMessage.Builder builderForValue)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addAllValidationMessages

      public FlowValidationResult.Builder addAllValidationMessages(Iterable<? extends ValidationMessage> values)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • clearValidationMessages

      public FlowValidationResult.Builder clearValidationMessages()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • removeValidationMessages

      public FlowValidationResult.Builder removeValidationMessages(int index)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • getValidationMessagesBuilder

      public ValidationMessage.Builder getValidationMessagesBuilder(int index)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • getValidationMessagesOrBuilder

      public ValidationMessageOrBuilder getValidationMessagesOrBuilder(int index)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
      Specified by:
      getValidationMessagesOrBuilder in interface FlowValidationResultOrBuilder
    • getValidationMessagesOrBuilderList

      public List<? extends ValidationMessageOrBuilder> getValidationMessagesOrBuilderList()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
      Specified by:
      getValidationMessagesOrBuilderList in interface FlowValidationResultOrBuilder
    • addValidationMessagesBuilder

      public ValidationMessage.Builder addValidationMessagesBuilder()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • addValidationMessagesBuilder

      public ValidationMessage.Builder addValidationMessagesBuilder(int index)
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • getValidationMessagesBuilderList

      public List<ValidationMessage.Builder> getValidationMessagesBuilderList()
       Contains all validation messages.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ValidationMessage validation_messages = 2;
    • hasUpdateTime

      public boolean hasUpdateTime()
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      hasUpdateTime in interface FlowValidationResultOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTime in interface FlowValidationResultOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public FlowValidationResult.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
    • setUpdateTime

      public FlowValidationResult.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
    • mergeUpdateTime

      public FlowValidationResult.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
    • clearUpdateTime

      public FlowValidationResult.Builder clearUpdateTime()
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Last time the flow was validated.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTimeOrBuilder in interface FlowValidationResultOrBuilder