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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderedBuildEventgetBuildEvent()The lifecycle build event.OrderedBuildEventOrBuildergetBuildEventOrBuilder()The lifecycle build event.java.lang.StringgetNotificationKeywords(int index)Additional information about a build request.com.google.protobuf.ByteStringgetNotificationKeywordsBytes(int index)Additional information about a build request.intgetNotificationKeywordsCount()Additional information about a build request.java.util.List<java.lang.String>getNotificationKeywordsList()Additional information about a build request.java.lang.StringgetProjectId()The project this build is associated with.com.google.protobuf.ByteStringgetProjectIdBytes()The project this build is associated with.PublishLifecycleEventRequest.ServiceLevelgetServiceLevel()The interactivity of this build.intgetServiceLevelValue()The interactivity of this build.com.google.protobuf.DurationgetStreamTimeout()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.DurationOrBuildergetStreamTimeoutOrBuilder()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.booleanhasBuildEvent()The lifecycle build event.booleanhasStreamTimeout()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.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.
-
-