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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetNotificationKeywords(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.intgetNotificationKeywordsCount()The keywords to be attached to the notification which notifies the start of a new build event stream.java.util.List<java.lang.String>getNotificationKeywordsList()The keywords to be attached to the notification which notifies the start of a new build event stream.OrderedBuildEventgetOrderedBuildEvent()The build event with position info.OrderedBuildEventOrBuildergetOrderedBuildEventOrBuilder()The build event with position info.java.lang.StringgetProjectId()The project this build is associated with.com.google.protobuf.ByteStringgetProjectIdBytes()The project this build is associated with.booleanhasOrderedBuildEvent()The build event with position info.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOrderedBuildEvent
boolean hasOrderedBuildEvent()
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;- Returns:
- Whether the orderedBuildEvent field is set.
-
getOrderedBuildEvent
OrderedBuildEvent getOrderedBuildEvent()
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;- Returns:
- The orderedBuildEvent.
-
getOrderedBuildEventOrBuilder
OrderedBuildEventOrBuilder getOrderedBuildEventOrBuilder()
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;
-
getNotificationKeywordsList
java.util.List<java.lang.String> 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
java.lang.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;- 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
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.
-
-