/*
 * Copyright 2023 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/datastream/v1/datastream_resources.proto

package com.google.cloud.datastream.v1;

public interface StreamObjectOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StreamObject)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The object resource's name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The object resource's name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. The creation time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The creation time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The creation time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The last update time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The last update time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The last update time of the object.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. Display name.
   * </pre>
   *
   * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The displayName.
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * Required. Display name.
   * </pre>
   *
   * <code>string display_name = 5 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for displayName.
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Active errors on the object.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<com.google.cloud.datastream.v1.Error> getErrorsList();
  /**
   *
   *
   * <pre>
   * Output only. Active errors on the object.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.datastream.v1.Error getErrors(int index);
  /**
   *
   *
   * <pre>
   * Output only. Active errors on the object.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  int getErrorsCount();
  /**
   *
   *
   * <pre>
   * Output only. Active errors on the object.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<? extends com.google.cloud.datastream.v1.ErrorOrBuilder> getErrorsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. Active errors on the object.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The latest backfill job that was initiated for the stream object.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.BackfillJob backfill_job = 7;</code>
   *
   * @return Whether the backfillJob field is set.
   */
  boolean hasBackfillJob();
  /**
   *
   *
   * <pre>
   * The latest backfill job that was initiated for the stream object.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.BackfillJob backfill_job = 7;</code>
   *
   * @return The backfillJob.
   */
  com.google.cloud.datastream.v1.BackfillJob getBackfillJob();
  /**
   *
   *
   * <pre>
   * The latest backfill job that was initiated for the stream object.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.BackfillJob backfill_job = 7;</code>
   */
  com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuilder();

  /**
   *
   *
   * <pre>
   * The object identifier in the data source.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8;</code>
   *
   * @return Whether the sourceObject field is set.
   */
  boolean hasSourceObject();
  /**
   *
   *
   * <pre>
   * The object identifier in the data source.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8;</code>
   *
   * @return The sourceObject.
   */
  com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObject();
  /**
   *
   *
   * <pre>
   * The object identifier in the data source.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8;</code>
   */
  com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceObjectOrBuilder();
}
