/*
 * Copyright 2020 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/dataflow/v1beta3/metrics.proto

package com.google.dataflow.v1beta3;

public interface WorkerDetailsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.dataflow.v1beta3.WorkerDetails)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Name of this worker
   * </pre>
   *
   * <code>string worker_name = 1;</code>
   *
   * @return The workerName.
   */
  java.lang.String getWorkerName();
  /**
   *
   *
   * <pre>
   * Name of this worker
   * </pre>
   *
   * <code>string worker_name = 1;</code>
   *
   * @return The bytes for workerName.
   */
  com.google.protobuf.ByteString getWorkerNameBytes();

  /**
   *
   *
   * <pre>
   * Work items processed by this worker, sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;</code>
   */
  java.util.List<com.google.dataflow.v1beta3.WorkItemDetails> getWorkItemsList();
  /**
   *
   *
   * <pre>
   * Work items processed by this worker, sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;</code>
   */
  com.google.dataflow.v1beta3.WorkItemDetails getWorkItems(int index);
  /**
   *
   *
   * <pre>
   * Work items processed by this worker, sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;</code>
   */
  int getWorkItemsCount();
  /**
   *
   *
   * <pre>
   * Work items processed by this worker, sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;</code>
   */
  java.util.List<? extends com.google.dataflow.v1beta3.WorkItemDetailsOrBuilder>
      getWorkItemsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Work items processed by this worker, sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;</code>
   */
  com.google.dataflow.v1beta3.WorkItemDetailsOrBuilder getWorkItemsOrBuilder(int index);
}
