Class EnvironmentHistory.Entry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Entry.Builder>
com.google.cloud.dialogflow.v2.EnvironmentHistory.Entry.Builder
All Implemented Interfaces:
EnvironmentHistory.EntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EnvironmentHistory.Entry

public static final class EnvironmentHistory.Entry.Builder extends com.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Entry.Builder> implements EnvironmentHistory.EntryOrBuilder
 Represents an environment history entry.
 
Protobuf type google.cloud.dialogflow.v2.EnvironmentHistory.Entry
  • 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<EnvironmentHistory.Entry.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<EnvironmentHistory.Entry.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<EnvironmentHistory.Entry.Builder>
    • getDefaultInstanceForType

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

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

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

      public EnvironmentHistory.Entry.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<EnvironmentHistory.Entry.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<EnvironmentHistory.Entry.Builder>
    • mergeFrom

      public EnvironmentHistory.Entry.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<EnvironmentHistory.Entry.Builder>
      Throws:
      IOException
    • getAgentVersion

      public String getAgentVersion()
       The agent version loaded into this environment history entry.
       
      string agent_version = 1;
      Specified by:
      getAgentVersion in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      The agentVersion.
    • getAgentVersionBytes

      public com.google.protobuf.ByteString getAgentVersionBytes()
       The agent version loaded into this environment history entry.
       
      string agent_version = 1;
      Specified by:
      getAgentVersionBytes in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      The bytes for agentVersion.
    • setAgentVersion

      public EnvironmentHistory.Entry.Builder setAgentVersion(String value)
       The agent version loaded into this environment history entry.
       
      string agent_version = 1;
      Parameters:
      value - The agentVersion to set.
      Returns:
      This builder for chaining.
    • clearAgentVersion

      public EnvironmentHistory.Entry.Builder clearAgentVersion()
       The agent version loaded into this environment history entry.
       
      string agent_version = 1;
      Returns:
      This builder for chaining.
    • setAgentVersionBytes

      public EnvironmentHistory.Entry.Builder setAgentVersionBytes(com.google.protobuf.ByteString value)
       The agent version loaded into this environment history entry.
       
      string agent_version = 1;
      Parameters:
      value - The bytes for agentVersion to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       The developer-provided description for this environment history entry.
       
      string description = 2;
      Specified by:
      getDescription in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The developer-provided description for this environment history entry.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public EnvironmentHistory.Entry.Builder setDescription(String value)
       The developer-provided description for this environment history entry.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public EnvironmentHistory.Entry.Builder clearDescription()
       The developer-provided description for this environment history entry.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public EnvironmentHistory.Entry.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The developer-provided description for this environment history entry.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface EnvironmentHistory.EntryOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public EnvironmentHistory.Entry.Builder setCreateTime(com.google.protobuf.Timestamp value)
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
    • setCreateTime

      public EnvironmentHistory.Entry.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
    • mergeCreateTime

      public EnvironmentHistory.Entry.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
    • clearCreateTime

      public EnvironmentHistory.Entry.Builder clearCreateTime()
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The creation time of this environment history entry.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface EnvironmentHistory.EntryOrBuilder