Class PublishBuildToolEventStreamRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.v1.PublishBuildToolEventStreamRequest
All Implemented Interfaces:
PublishBuildToolEventStreamRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class PublishBuildToolEventStreamRequest extends com.google.protobuf.GeneratedMessage implements PublishBuildToolEventStreamRequestOrBuilder
 Streaming request message for PublishBuildToolEventStream.
 
Protobuf type google.devtools.build.v1.PublishBuildToolEventStreamRequest
See Also:
  • Field Details

    • ORDERED_BUILD_EVENT_FIELD_NUMBER

      public static final int ORDERED_BUILD_EVENT_FIELD_NUMBER
      See Also:
    • NOTIFICATION_KEYWORDS_FIELD_NUMBER

      public static final int NOTIFICATION_KEYWORDS_FIELD_NUMBER
      See Also:
    • PROJECT_ID_FIELD_NUMBER

      public static final int PROJECT_ID_FIELD_NUMBER
      See Also:
    • CHECK_PRECEDING_LIFECYCLE_EVENTS_PRESENT_FIELD_NUMBER

      public static final int CHECK_PRECEDING_LIFECYCLE_EVENTS_PRESENT_FIELD_NUMBER
      See Also:
  • 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
    • hasOrderedBuildEvent

      public boolean hasOrderedBuildEvent()
       Required. The build event with position info.
       New publishing clients should use this field rather than the 3 above.
       
      .google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOrderedBuildEvent in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      Whether the orderedBuildEvent field is set.
    • getOrderedBuildEvent

      public OrderedBuildEvent getOrderedBuildEvent()
       Required. The build event with position info.
       New publishing clients should use this field rather than the 3 above.
       
      .google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOrderedBuildEvent in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      The orderedBuildEvent.
    • getOrderedBuildEventOrBuilder

      public OrderedBuildEventOrBuilder getOrderedBuildEventOrBuilder()
       Required. The build event with position info.
       New publishing clients should use this field rather than the 3 above.
       
      .google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOrderedBuildEventOrBuilder in interface PublishBuildToolEventStreamRequestOrBuilder
    • getNotificationKeywordsList

      public com.google.protobuf.ProtocolStringList getNotificationKeywordsList()
       The keywords to be attached to the notification which notifies the start
       of a new build event stream. BES only reads this field when sequence_number
       or ordered_build_event.sequence_number is 1 in this message. If this field
       is empty, BES will not publish notification messages for this stream.
       
      repeated string notification_keywords = 5;
      Specified by:
      getNotificationKeywordsList in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      A list containing the notificationKeywords.
    • getNotificationKeywordsCount

      public int getNotificationKeywordsCount()
       The keywords to be attached to the notification which notifies the start
       of a new build event stream. BES only reads this field when sequence_number
       or ordered_build_event.sequence_number is 1 in this message. If this field
       is empty, BES will not publish notification messages for this stream.
       
      repeated string notification_keywords = 5;
      Specified by:
      getNotificationKeywordsCount in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      The count of notificationKeywords.
    • getNotificationKeywords

      public String getNotificationKeywords(int index)
       The keywords to be attached to the notification which notifies the start
       of a new build event stream. BES only reads this field when sequence_number
       or ordered_build_event.sequence_number is 1 in this message. If this field
       is empty, BES will not publish notification messages for this stream.
       
      repeated string notification_keywords = 5;
      Specified by:
      getNotificationKeywords in interface PublishBuildToolEventStreamRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The notificationKeywords at the given index.
    • getNotificationKeywordsBytes

      public com.google.protobuf.ByteString getNotificationKeywordsBytes(int index)
       The keywords to be attached to the notification which notifies the start
       of a new build event stream. BES only reads this field when sequence_number
       or ordered_build_event.sequence_number is 1 in this message. If this field
       is empty, BES will not publish notification messages for this stream.
       
      repeated string notification_keywords = 5;
      Specified by:
      getNotificationKeywordsBytes in interface PublishBuildToolEventStreamRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the notificationKeywords at the given index.
    • getProjectId

      public String getProjectId()
       Required. The project this build is associated with.
       This should match the project used for the initial call to
       PublishLifecycleEvent (containing a BuildEnqueued message).
       
      string project_id = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectId in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Required. The project this build is associated with.
       This should match the project used for the initial call to
       PublishLifecycleEvent (containing a BuildEnqueued message).
       
      string project_id = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectIdBytes in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      The bytes for projectId.
    • getCheckPrecedingLifecycleEventsPresent

      public boolean getCheckPrecedingLifecycleEventsPresent()
       Whether to require a previously received matching InvocationAttemptStarted
       event before continuing event processing for the event in the current
       request. BES only performs this check for events with sequence_number 1
       i.e. the first event in the stream.
       
      bool check_preceding_lifecycle_events_present = 7;
      Specified by:
      getCheckPrecedingLifecycleEventsPresent in interface PublishBuildToolEventStreamRequestOrBuilder
      Returns:
      The checkPrecedingLifecycleEventsPresent.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PublishBuildToolEventStreamRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PublishBuildToolEventStreamRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublishBuildToolEventStreamRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PublishBuildToolEventStreamRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PublishBuildToolEventStreamRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PublishBuildToolEventStreamRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PublishBuildToolEventStreamRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PublishBuildToolEventStreamRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<PublishBuildToolEventStreamRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PublishBuildToolEventStreamRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder