Package com.google.devtools.build.v1
Interface PublishLifecycleEventRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublishLifecycleEventRequest,PublishLifecycleEventRequest.Builder
public interface PublishLifecycleEventRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.booleanWhether to require a previously received matching parent lifecycle event for the current request's event before continuing processing.getNotificationKeywords(int index) Additional information about a build request.com.google.protobuf.ByteStringgetNotificationKeywordsBytes(int index) Additional information about a build request.intAdditional information about a build request.Additional information about a build request.Required.com.google.protobuf.ByteStringRequired.The interactivity of this build.intThe interactivity of this build.com.google.protobuf.DurationIf 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.DurationOrBuilderIf 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.booleanRequired.booleanIf 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()Required. 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 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the buildEvent field is set.
-
getBuildEvent
OrderedBuildEvent getBuildEvent()Required. 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 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The buildEvent.
-
getBuildEventOrBuilder
OrderedBuildEventOrBuilder getBuildEventOrBuilder()Required. 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 [(.google.api.field_behavior) = REQUIRED]; -
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
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
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
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];- Returns:
- The projectId.
-
getProjectIdBytes
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];- Returns:
- The bytes for projectId.
-
getCheckPrecedingLifecycleEventsPresent
boolean getCheckPrecedingLifecycleEventsPresent()Whether to require a previously received matching parent lifecycle event for the current request's event before continuing processing. - InvocationAttemptStarted and BuildFinished events require a BuildEnqueued parent event. - InvocationAttemptFinished events require an InvocationAttemptStarted parent event.
bool check_preceding_lifecycle_events_present = 7;- Returns:
- The checkPrecedingLifecycleEventsPresent.
-