// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/logging/v2/log_entry.proto

package com.google.logging.v2;

public interface LogEntryOperationOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntryOperation)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * <pre>
   * Optional. An arbitrary operation identifier. Log entries with the same
   * identifier are assumed to be part of the same operation.
   * </pre>
   *
   * <code>string id = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The id.
   */
  java.lang.String getId();
  /**
   * <pre>
   * Optional. An arbitrary operation identifier. Log entries with the same
   * identifier are assumed to be part of the same operation.
   * </pre>
   *
   * <code>string id = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString
      getIdBytes();

  /**
   * <pre>
   * Optional. An arbitrary producer identifier. The combination of `id` and
   * `producer` must be globally unique. Examples for `producer`:
   * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
   * </pre>
   *
   * <code>string producer = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The producer.
   */
  java.lang.String getProducer();
  /**
   * <pre>
   * Optional. An arbitrary producer identifier. The combination of `id` and
   * `producer` must be globally unique. Examples for `producer`:
   * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
   * </pre>
   *
   * <code>string producer = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The bytes for producer.
   */
  com.google.protobuf.ByteString
      getProducerBytes();

  /**
   * <pre>
   * Optional. Set this to True if this is the first log entry in the operation.
   * </pre>
   *
   * <code>bool first = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The first.
   */
  boolean getFirst();

  /**
   * <pre>
   * Optional. Set this to True if this is the last log entry in the operation.
   * </pre>
   *
   * <code>bool last = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   * @return The last.
   */
  boolean getLast();
}
