
com.google.cloud.visionai.v1.EventOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/streams_resources.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface EventOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.Event)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Name of the resource.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Name of the resource.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. The create timestamp.
*
*
* .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The create timestamp.
*
*
* .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The create timestamp.
*
*
* .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The update timestamp.
*
*
* .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The update timestamp.
*
*
* .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The update timestamp.
*
*
* .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 4;
*/
int getLabelsCount();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 4;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 4;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 4;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 4;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Annotations to allow clients to store small amounts of arbitrary data.
*
*
* map<string, string> annotations = 5;
*/
int getAnnotationsCount();
/**
*
*
*
* Annotations to allow clients to store small amounts of arbitrary data.
*
*
* map<string, string> annotations = 5;
*/
boolean containsAnnotations(java.lang.String key);
/** Use {@link #getAnnotationsMap()} instead. */
@java.lang.Deprecated
java.util.Map getAnnotations();
/**
*
*
*
* Annotations to allow clients to store small amounts of arbitrary data.
*
*
* map<string, string> annotations = 5;
*/
java.util.Map getAnnotationsMap();
/**
*
*
*
* Annotations to allow clients to store small amounts of arbitrary data.
*
*
* map<string, string> annotations = 5;
*/
/* nullable */
java.lang.String getAnnotationsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Annotations to allow clients to store small amounts of arbitrary data.
*
*
* map<string, string> annotations = 5;
*/
java.lang.String getAnnotationsOrThrow(java.lang.String key);
/**
*
*
*
* The clock used for joining streams.
*
*
* .google.cloud.visionai.v1.Event.Clock alignment_clock = 6;
*
* @return The enum numeric value on the wire for alignmentClock.
*/
int getAlignmentClockValue();
/**
*
*
*
* The clock used for joining streams.
*
*
* .google.cloud.visionai.v1.Event.Clock alignment_clock = 6;
*
* @return The alignmentClock.
*/
com.google.cloud.visionai.v1.Event.Clock getAlignmentClock();
/**
*
*
*
* 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;
*
* @return Whether the gracePeriod field is set.
*/
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;
*
* @return The gracePeriod.
*/
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;
*/
com.google.protobuf.DurationOrBuilder getGracePeriodOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy