Class CommitLogEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CommitLogEntry.Builder>
com.google.cloud.dataform.v1.CommitLogEntry.Builder
All Implemented Interfaces:
CommitLogEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CommitLogEntry

public static final class CommitLogEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommitLogEntry.Builder> implements CommitLogEntryOrBuilder
 Represents a single commit log.
 
Protobuf type google.cloud.dataform.v1.CommitLogEntry
  • 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<CommitLogEntry.Builder>
    • clear

      public CommitLogEntry.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<CommitLogEntry.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<CommitLogEntry.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CommitLogEntry.Builder mergeFrom(CommitLogEntry other)
    • isInitialized

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

      public CommitLogEntry.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<CommitLogEntry.Builder>
      Throws:
      IOException
    • hasCommitTime

      public boolean hasCommitTime()
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
      Specified by:
      hasCommitTime in interface CommitLogEntryOrBuilder
      Returns:
      Whether the commitTime field is set.
    • getCommitTime

      public com.google.protobuf.Timestamp getCommitTime()
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
      Specified by:
      getCommitTime in interface CommitLogEntryOrBuilder
      Returns:
      The commitTime.
    • setCommitTime

      public CommitLogEntry.Builder setCommitTime(com.google.protobuf.Timestamp value)
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
    • setCommitTime

      public CommitLogEntry.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
    • mergeCommitTime

      public CommitLogEntry.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
    • clearCommitTime

      public CommitLogEntry.Builder clearCommitTime()
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
    • getCommitTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
    • getCommitTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
       Commit timestamp.
       
      .google.protobuf.Timestamp commit_time = 1;
      Specified by:
      getCommitTimeOrBuilder in interface CommitLogEntryOrBuilder
    • getCommitSha

      public String getCommitSha()
       The commit SHA for this commit log entry.
       
      string commit_sha = 2;
      Specified by:
      getCommitSha in interface CommitLogEntryOrBuilder
      Returns:
      The commitSha.
    • getCommitShaBytes

      public com.google.protobuf.ByteString getCommitShaBytes()
       The commit SHA for this commit log entry.
       
      string commit_sha = 2;
      Specified by:
      getCommitShaBytes in interface CommitLogEntryOrBuilder
      Returns:
      The bytes for commitSha.
    • setCommitSha

      public CommitLogEntry.Builder setCommitSha(String value)
       The commit SHA for this commit log entry.
       
      string commit_sha = 2;
      Parameters:
      value - The commitSha to set.
      Returns:
      This builder for chaining.
    • clearCommitSha

      public CommitLogEntry.Builder clearCommitSha()
       The commit SHA for this commit log entry.
       
      string commit_sha = 2;
      Returns:
      This builder for chaining.
    • setCommitShaBytes

      public CommitLogEntry.Builder setCommitShaBytes(com.google.protobuf.ByteString value)
       The commit SHA for this commit log entry.
       
      string commit_sha = 2;
      Parameters:
      value - The bytes for commitSha to set.
      Returns:
      This builder for chaining.
    • hasAuthor

      public boolean hasAuthor()
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
      Specified by:
      hasAuthor in interface CommitLogEntryOrBuilder
      Returns:
      Whether the author field is set.
    • getAuthor

      public CommitAuthor getAuthor()
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
      Specified by:
      getAuthor in interface CommitLogEntryOrBuilder
      Returns:
      The author.
    • setAuthor

      public CommitLogEntry.Builder setAuthor(CommitAuthor value)
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
    • setAuthor

      public CommitLogEntry.Builder setAuthor(CommitAuthor.Builder builderForValue)
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
    • mergeAuthor

      public CommitLogEntry.Builder mergeAuthor(CommitAuthor value)
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
    • clearAuthor

      public CommitLogEntry.Builder clearAuthor()
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
    • getAuthorBuilder

      public CommitAuthor.Builder getAuthorBuilder()
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
    • getAuthorOrBuilder

      public CommitAuthorOrBuilder getAuthorOrBuilder()
       The commit author for this commit log entry.
       
      .google.cloud.dataform.v1.CommitAuthor author = 3;
      Specified by:
      getAuthorOrBuilder in interface CommitLogEntryOrBuilder
    • getCommitMessage

      public String getCommitMessage()
       The commit message for this commit log entry.
       
      string commit_message = 4;
      Specified by:
      getCommitMessage in interface CommitLogEntryOrBuilder
      Returns:
      The commitMessage.
    • getCommitMessageBytes

      public com.google.protobuf.ByteString getCommitMessageBytes()
       The commit message for this commit log entry.
       
      string commit_message = 4;
      Specified by:
      getCommitMessageBytes in interface CommitLogEntryOrBuilder
      Returns:
      The bytes for commitMessage.
    • setCommitMessage

      public CommitLogEntry.Builder setCommitMessage(String value)
       The commit message for this commit log entry.
       
      string commit_message = 4;
      Parameters:
      value - The commitMessage to set.
      Returns:
      This builder for chaining.
    • clearCommitMessage

      public CommitLogEntry.Builder clearCommitMessage()
       The commit message for this commit log entry.
       
      string commit_message = 4;
      Returns:
      This builder for chaining.
    • setCommitMessageBytes

      public CommitLogEntry.Builder setCommitMessageBytes(com.google.protobuf.ByteString value)
       The commit message for this commit log entry.
       
      string commit_message = 4;
      Parameters:
      value - The bytes for commitMessage to set.
      Returns:
      This builder for chaining.