Interface PublishLifecycleEventRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OrderedBuildEvent getBuildEvent()
      The lifecycle build event.
      OrderedBuildEventOrBuilder getBuildEventOrBuilder()
      The lifecycle build event.
      java.lang.String getNotificationKeywords​(int index)
      Additional information about a build request.
      com.google.protobuf.ByteString getNotificationKeywordsBytes​(int index)
      Additional information about a build request.
      int getNotificationKeywordsCount()
      Additional information about a build request.
      java.util.List<java.lang.String> getNotificationKeywordsList()
      Additional information about a build request.
      java.lang.String getProjectId()
      The project this build is associated with.
      com.google.protobuf.ByteString getProjectIdBytes()
      The project this build is associated with.
      PublishLifecycleEventRequest.ServiceLevel getServiceLevel()
      The interactivity of this build.
      int getServiceLevelValue()
      The interactivity of this build.
      com.google.protobuf.Duration getStreamTimeout()
      If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.
      com.google.protobuf.DurationOrBuilder getStreamTimeoutOrBuilder()
      If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.
      boolean hasBuildEvent()
      The lifecycle build event.
      boolean hasStreamTimeout()
      If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getServiceLevelValue

        int getServiceLevelValue()
         The interactivity of this build.
         
        .google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;
        Returns:
        The enum numeric value on the wire for serviceLevel.
      • getServiceLevel

        PublishLifecycleEventRequest.ServiceLevel getServiceLevel()
         The interactivity of this build.
         
        .google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;
        Returns:
        The serviceLevel.
      • hasBuildEvent

        boolean hasBuildEvent()
         The lifecycle build event. If this is a build tool event, the RPC will fail
         with INVALID_REQUEST.
         
        .google.devtools.build.v1.OrderedBuildEvent build_event = 2;
        Returns:
        Whether the buildEvent field is set.
      • getBuildEvent

        OrderedBuildEvent getBuildEvent()
         The lifecycle build event. If this is a build tool event, the RPC will fail
         with INVALID_REQUEST.
         
        .google.devtools.build.v1.OrderedBuildEvent build_event = 2;
        Returns:
        The buildEvent.
      • getBuildEventOrBuilder

        OrderedBuildEventOrBuilder getBuildEventOrBuilder()
         The lifecycle build event. If this is a build tool event, the RPC will fail
         with INVALID_REQUEST.
         
        .google.devtools.build.v1.OrderedBuildEvent build_event = 2;
      • hasStreamTimeout

        boolean hasStreamTimeout()
         If the next event for this build or invocation (depending on the event
         type) hasn't been published after this duration from when {build_event}
         is written to BES, consider this stream expired. If this field is not set,
         BES backend will use its own default value.
         
        .google.protobuf.Duration stream_timeout = 3;
        Returns:
        Whether the streamTimeout field is set.
      • getStreamTimeout

        com.google.protobuf.Duration getStreamTimeout()
         If the next event for this build or invocation (depending on the event
         type) hasn't been published after this duration from when {build_event}
         is written to BES, consider this stream expired. If this field is not set,
         BES backend will use its own default value.
         
        .google.protobuf.Duration stream_timeout = 3;
        Returns:
        The streamTimeout.
      • getStreamTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getStreamTimeoutOrBuilder()
         If the next event for this build or invocation (depending on the event
         type) hasn't been published after this duration from when {build_event}
         is written to BES, consider this stream expired. If this field is not set,
         BES backend will use its own default value.
         
        .google.protobuf.Duration stream_timeout = 3;
      • getNotificationKeywordsList

        java.util.List<java.lang.String> getNotificationKeywordsList()
         Additional information about a build request. These are define by the event
         publishers, and the Build Event Service does not validate or interpret
         them. They are used while notifying internal systems of new builds and
         invocations if the OrderedBuildEvent.event type is
         BuildEnqueued/InvocationAttemptStarted.
         
        repeated string notification_keywords = 4;
        Returns:
        A list containing the notificationKeywords.
      • getNotificationKeywordsCount

        int getNotificationKeywordsCount()
         Additional information about a build request. These are define by the event
         publishers, and the Build Event Service does not validate or interpret
         them. They are used while notifying internal systems of new builds and
         invocations if the OrderedBuildEvent.event type is
         BuildEnqueued/InvocationAttemptStarted.
         
        repeated string notification_keywords = 4;
        Returns:
        The count of notificationKeywords.
      • getNotificationKeywords

        java.lang.String getNotificationKeywords​(int index)
         Additional information about a build request. These are define by the event
         publishers, and the Build Event Service does not validate or interpret
         them. They are used while notifying internal systems of new builds and
         invocations if the OrderedBuildEvent.event type is
         BuildEnqueued/InvocationAttemptStarted.
         
        repeated string notification_keywords = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The notificationKeywords at the given index.
      • getNotificationKeywordsBytes

        com.google.protobuf.ByteString getNotificationKeywordsBytes​(int index)
         Additional information about a build request. These are define by the event
         publishers, and the Build Event Service does not validate or interpret
         them. They are used while notifying internal systems of new builds and
         invocations if the OrderedBuildEvent.event type is
         BuildEnqueued/InvocationAttemptStarted.
         
        repeated string notification_keywords = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the notificationKeywords at the given index.
      • getProjectId

        java.lang.String getProjectId()
         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;
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         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;
        Returns:
        The bytes for projectId.