// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/tasks/v2beta3/target.proto

package com.google.cloud.tasks.v2beta3;

public interface OidcTokenOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
   * to be used for generating OIDC token.
   * The service account must be within the same project as the queue. The
   * caller must have iam.serviceAccounts.actAs permission for the service
   * account.
   * </pre>
   *
   * <code>string service_account_email = 1;</code>
   */
  java.lang.String getServiceAccountEmail();
  /**
   *
   *
   * <pre>
   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
   * to be used for generating OIDC token.
   * The service account must be within the same project as the queue. The
   * caller must have iam.serviceAccounts.actAs permission for the service
   * account.
   * </pre>
   *
   * <code>string service_account_email = 1;</code>
   */
  com.google.protobuf.ByteString getServiceAccountEmailBytes();

  /**
   *
   *
   * <pre>
   * Audience to be used when generating OIDC token. If not specified, the URI
   * specified in target will be used.
   * </pre>
   *
   * <code>string audience = 2;</code>
   */
  java.lang.String getAudience();
  /**
   *
   *
   * <pre>
   * Audience to be used when generating OIDC token. If not specified, the URI
   * specified in target will be used.
   * </pre>
   *
   * <code>string audience = 2;</code>
   */
  com.google.protobuf.ByteString getAudienceBytes();
}
