Package com.google.devtools.build.v1
Interface PublishBuildToolEventStreamRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublishBuildToolEventStreamRequest,PublishBuildToolEventStreamRequest.Builder
public interface PublishBuildToolEventStreamRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to require a previously received matching InvocationAttemptStarted event before continuing event processing for the event in the current request.getNotificationKeywords(int index) The keywords to be attached to the notification which notifies the start of a new build event stream.com.google.protobuf.ByteStringgetNotificationKeywordsBytes(int index) The keywords to be attached to the notification which notifies the start of a new build event stream.intThe keywords to be attached to the notification which notifies the start of a new build event stream.The keywords to be attached to the notification which notifies the start of a new build event stream.Required.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.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
-
hasOrderedBuildEvent
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];- Returns:
- Whether the orderedBuildEvent field is set.
-
getOrderedBuildEvent
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];- Returns:
- The orderedBuildEvent.
-
getOrderedBuildEventOrBuilder
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]; -
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;- Returns:
- A list containing the notificationKeywords.
-
getNotificationKeywordsCount
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;- Returns:
- The count of notificationKeywords.
-
getNotificationKeywords
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;- Parameters:
index- The index of the element to return.- Returns:
- The notificationKeywords at the given index.
-
getNotificationKeywordsBytes
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;- 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 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;- Returns:
- The checkPrecedingLifecycleEventsPresent.
-