public final class Event extends GeneratedMessageV3 implements EventOrBuilder
Message describing the Event object.
Protobuf type google.cloud.visionai.v1.Event
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALIGNMENT_CLOCK_FIELD_NUMBER
public static final int ALIGNMENT_CLOCK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GRACE_PERIOD_FIELD_NUMBER
public static final int GRACE_PERIOD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Event getDefaultInstance()
Returns |
Type |
Description |
Event |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Event.Builder newBuilder()
newBuilder(Event prototype)
public static Event.Builder newBuilder(Event prototype)
Parameter |
Name |
Description |
prototype |
Event
|
public static Event parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Event |
|
public static Event parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
parseFrom(byte[] data)
public static Event parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Event |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Event parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
parseFrom(ByteString data)
public static Event parseFrom(ByteString data)
Returns |
Type |
Description |
Event |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Event parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
public static Event parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Event |
|
public static Event parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
public static Event parseFrom(InputStream input)
Returns |
Type |
Description |
Event |
|
public static Event parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
parseFrom(ByteBuffer data)
public static Event parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Event |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Event parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Event |
|
parser()
public static Parser<Event> parser()
Methods
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5;
Parameter |
Name |
Description |
key |
String
|
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAlignmentClock()
public Event.Clock getAlignmentClock()
The clock used for joining streams.
.google.cloud.visionai.v1.Event.Clock alignment_clock = 6;
Returns |
Type |
Description |
Event.Clock |
The alignmentClock.
|
getAlignmentClockValue()
public int getAlignmentClockValue()
The clock used for joining streams.
.google.cloud.visionai.v1.Event.Clock alignment_clock = 6;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for alignmentClock.
|
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
getAnnotationsCount()
public int getAnnotationsCount()
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5;
Returns |
Type |
Description |
int |
|
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5;
Returns |
Type |
Description |
String |
|
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Event getDefaultInstanceForType()
Returns |
Type |
Description |
Event |
|
getGracePeriod()
public 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 |
Type |
Description |
Duration |
The gracePeriod.
|
getGracePeriodOrBuilder()
public 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;
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 4;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getName()
Name of the resource.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the resource.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Event> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasGracePeriod()
public 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 |
Type |
Description |
boolean |
Whether the gracePeriod field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Event.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Event.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Event.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides