Class BuildEvent.InvocationAttemptStarted.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEvent.InvocationAttemptStarted.Builder>
com.google.devtools.build.v1.BuildEvent.InvocationAttemptStarted.Builder
All Implemented Interfaces:
BuildEvent.InvocationAttemptStartedOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BuildEvent.InvocationAttemptStarted

public static final class BuildEvent.InvocationAttemptStarted.Builder extends com.google.protobuf.GeneratedMessage.Builder<BuildEvent.InvocationAttemptStarted.Builder> implements BuildEvent.InvocationAttemptStartedOrBuilder
 Notification that the build system has attempted to run the build tool.
 
Protobuf type google.devtools.build.v1.BuildEvent.InvocationAttemptStarted
  • 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<BuildEvent.InvocationAttemptStarted.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<BuildEvent.InvocationAttemptStarted.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<BuildEvent.InvocationAttemptStarted.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public BuildEvent.InvocationAttemptStarted.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<BuildEvent.InvocationAttemptStarted.Builder>
      Throws:
      IOException
    • getAttemptNumber

      public long getAttemptNumber()
       The number of the invocation attempt, starting at 1 and increasing by 1
       for each new attempt. Can be used to determine if there is a later
       invocation attempt replacing the current one a client is processing.
       
      int64 attempt_number = 1;
      Specified by:
      getAttemptNumber in interface BuildEvent.InvocationAttemptStartedOrBuilder
      Returns:
      The attemptNumber.
    • setAttemptNumber

      public BuildEvent.InvocationAttemptStarted.Builder setAttemptNumber(long value)
       The number of the invocation attempt, starting at 1 and increasing by 1
       for each new attempt. Can be used to determine if there is a later
       invocation attempt replacing the current one a client is processing.
       
      int64 attempt_number = 1;
      Parameters:
      value - The attemptNumber to set.
      Returns:
      This builder for chaining.
    • clearAttemptNumber

      public BuildEvent.InvocationAttemptStarted.Builder clearAttemptNumber()
       The number of the invocation attempt, starting at 1 and increasing by 1
       for each new attempt. Can be used to determine if there is a later
       invocation attempt replacing the current one a client is processing.
       
      int64 attempt_number = 1;
      Returns:
      This builder for chaining.
    • hasDetails

      public boolean hasDetails()
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
      Specified by:
      hasDetails in interface BuildEvent.InvocationAttemptStartedOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public com.google.protobuf.Any getDetails()
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
      Specified by:
      getDetails in interface BuildEvent.InvocationAttemptStartedOrBuilder
      Returns:
      The details.
    • setDetails

      public BuildEvent.InvocationAttemptStarted.Builder setDetails(com.google.protobuf.Any value)
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
    • setDetails

      public BuildEvent.InvocationAttemptStarted.Builder setDetails(com.google.protobuf.Any.Builder builderForValue)
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
    • mergeDetails

      public BuildEvent.InvocationAttemptStarted.Builder mergeDetails(com.google.protobuf.Any value)
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
    • clearDetails

       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
    • getDetailsBuilder

      public com.google.protobuf.Any.Builder getDetailsBuilder()
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
    • getDetailsOrBuilder

      public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()
       Arbitrary details about the invocation attempt.
       
      .google.protobuf.Any details = 2;
      Specified by:
      getDetailsOrBuilder in interface BuildEvent.InvocationAttemptStartedOrBuilder