// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: resource.proto

package com.alibaba.nacos.istio.model.mcp;

public interface ResourceOrBuilder extends
    // @@protoc_insertion_point(interface_extends:istio.mcp.v1alpha1.Resource)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Common metadata describing the resource.
   * </pre>
   *
   * <code>.istio.mcp.v1alpha1.Metadata metadata = 1;</code>
   * @return Whether the metadata field is set.
   */
  boolean hasMetadata();
  /**
   * <pre>
   * Common metadata describing the resource.
   * </pre>
   *
   * <code>.istio.mcp.v1alpha1.Metadata metadata = 1;</code>
   * @return The metadata.
   */
  com.alibaba.nacos.istio.model.mcp.Metadata getMetadata();
  /**
   * <pre>
   * Common metadata describing the resource.
   * </pre>
   *
   * <code>.istio.mcp.v1alpha1.Metadata metadata = 1;</code>
   */
  com.alibaba.nacos.istio.model.mcp.MetadataOrBuilder getMetadataOrBuilder();

  /**
   * <pre>
   * The primary payload for the resource.
   * </pre>
   *
   * <code>.google.protobuf.Any body = 2;</code>
   * @return Whether the body field is set.
   */
  boolean hasBody();
  /**
   * <pre>
   * The primary payload for the resource.
   * </pre>
   *
   * <code>.google.protobuf.Any body = 2;</code>
   * @return The body.
   */
  com.google.protobuf.Any getBody();
  /**
   * <pre>
   * The primary payload for the resource.
   * </pre>
   *
   * <code>.google.protobuf.Any body = 2;</code>
   */
  com.google.protobuf.AnyOrBuilder getBodyOrBuilder();
}
