Interface EventOrBuilder (0.14.1)

public interface EventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAlignmentClock()

public abstract Event.Clock getAlignmentClock()

The clock used for joining streams.

.google.events.cloud.visionai.v1.Event.Clock alignment_clock = 6;

Returns
TypeDescription
Event.Clock

The alignmentClock.

getAlignmentClockValue()

public abstract int getAlignmentClockValue()

The clock used for joining streams.

.google.events.cloud.visionai.v1.Event.Clock alignment_clock = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for alignmentClock.

getAnnotations()

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Returns
TypeDescription
int

getAnnotationsMap()

public abstract Map<String,String> getAnnotationsMap()

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract String getAnnotationsOrDefault(String key, String defaultValue)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public abstract String getAnnotationsOrThrow(String key)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getGracePeriod()

public abstract 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
TypeDescription
Duration

The gracePeriod.

getGracePeriodOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

Name of the resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasGracePeriod()

public abstract 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
TypeDescription
boolean

Whether the gracePeriod field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.