Package com.google.cloud.visionai.v1
Interface EventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
@Generated
public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations to allow clients to store small amounts of arbitrary data.booleancontainsLabels(String key) Labels as key value pairs.The clock used for joining streams.intThe clock used for joining streams.Deprecated.intAnnotations to allow clients to store small amounts of arbitrary data.Annotations to allow clients to store small amounts of arbitrary data.getAnnotationsOrDefault(String key, String defaultValue) Annotations to allow clients to store small amounts of arbitrary data.Annotations to allow clients to store small amounts of arbitrary data.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.DurationGrace period for cleaning up the event.com.google.protobuf.DurationOrBuilderGrace period for cleaning up the event.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanGrace period for cleaning up the event.booleanOutput only.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
-
getName
String getName()Name of the resource.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the resource.
string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 4; -
containsLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4; -
getAnnotationsCount
int getAnnotationsCount()Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
containsAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotationsOrDefault
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotationsOrThrow
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAlignmentClockValue
int getAlignmentClockValue()The clock used for joining streams.
.google.cloud.visionai.v1.Event.Clock alignment_clock = 6;- Returns:
- The enum numeric value on the wire for alignmentClock.
-
getAlignmentClock
Event.Clock getAlignmentClock()The clock used for joining streams.
.google.cloud.visionai.v1.Event.Clock alignment_clock = 6;- Returns:
- The alignmentClock.
-
hasGracePeriod
boolean hasGracePeriod()Grace period for cleaning up the event. This is the time the controller waits for before deleting the event. During this period, if there is any active channel on the event. The deletion of the event after grace_period will be ignored.
.google.protobuf.Duration grace_period = 7;- Returns:
- Whether the gracePeriod field is set.
-
getGracePeriod
com.google.protobuf.Duration getGracePeriod()Grace period for cleaning up the event. This is the time the controller waits for before deleting the event. During this period, if there is any active channel on the event. The deletion of the event after grace_period will be ignored.
.google.protobuf.Duration grace_period = 7;- Returns:
- The gracePeriod.
-
getGracePeriodOrBuilder
com.google.protobuf.DurationOrBuilder getGracePeriodOrBuilder()Grace period for cleaning up the event. This is the time the controller waits for before deleting the event. During this period, if there is any active channel on the event. The deletion of the event after grace_period will be ignored.
.google.protobuf.Duration grace_period = 7;
-