/*
 * 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/cloud/gkehub/v1alpha/servicemesh/servicemesh.proto

package com.google.cloud.gkehub.servicemesh.v1alpha;

public interface AnalysisMessageOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Details common to all types of Istio and ServiceMesh analysis messages.
   * </pre>
   *
   * <code>.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;</code>
   *
   * @return Whether the messageBase field is set.
   */
  boolean hasMessageBase();
  /**
   *
   *
   * <pre>
   * Details common to all types of Istio and ServiceMesh analysis messages.
   * </pre>
   *
   * <code>.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;</code>
   *
   * @return The messageBase.
   */
  com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase getMessageBase();
  /**
   *
   *
   * <pre>
   * Details common to all types of Istio and ServiceMesh analysis messages.
   * </pre>
   *
   * <code>.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase message_base = 1;</code>
   */
  com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBaseOrBuilder
      getMessageBaseOrBuilder();

  /**
   *
   *
   * <pre>
   * A human readable description of what the error means. It is suitable for
   * non-internationalize display purposes.
   * </pre>
   *
   * <code>string description = 2;</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * A human readable description of what the error means. It is suitable for
   * non-internationalize display purposes.
   * </pre>
   *
   * <code>string description = 2;</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * A list of strings specifying the resource identifiers that were the cause
   * of message generation.
   * A "path" here may be:
   * * MEMBERSHIP_ID if the cause is a specific member cluster
   * * MEMBERSHIP_ID/(NAMESPACE&#92;/)?RESOURCETYPE/NAME if the cause is a resource
   * in a cluster
   * </pre>
   *
   * <code>repeated string resource_paths = 3;</code>
   *
   * @return A list containing the resourcePaths.
   */
  java.util.List<java.lang.String> getResourcePathsList();
  /**
   *
   *
   * <pre>
   * A list of strings specifying the resource identifiers that were the cause
   * of message generation.
   * A "path" here may be:
   * * MEMBERSHIP_ID if the cause is a specific member cluster
   * * MEMBERSHIP_ID/(NAMESPACE&#92;/)?RESOURCETYPE/NAME if the cause is a resource
   * in a cluster
   * </pre>
   *
   * <code>repeated string resource_paths = 3;</code>
   *
   * @return The count of resourcePaths.
   */
  int getResourcePathsCount();
  /**
   *
   *
   * <pre>
   * A list of strings specifying the resource identifiers that were the cause
   * of message generation.
   * A "path" here may be:
   * * MEMBERSHIP_ID if the cause is a specific member cluster
   * * MEMBERSHIP_ID/(NAMESPACE&#92;/)?RESOURCETYPE/NAME if the cause is a resource
   * in a cluster
   * </pre>
   *
   * <code>repeated string resource_paths = 3;</code>
   *
   * @param index The index of the element to return.
   * @return The resourcePaths at the given index.
   */
  java.lang.String getResourcePaths(int index);
  /**
   *
   *
   * <pre>
   * A list of strings specifying the resource identifiers that were the cause
   * of message generation.
   * A "path" here may be:
   * * MEMBERSHIP_ID if the cause is a specific member cluster
   * * MEMBERSHIP_ID/(NAMESPACE&#92;/)?RESOURCETYPE/NAME if the cause is a resource
   * in a cluster
   * </pre>
   *
   * <code>repeated string resource_paths = 3;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the resourcePaths at the given index.
   */
  com.google.protobuf.ByteString getResourcePathsBytes(int index);

  /**
   *
   *
   * <pre>
   * A UI can combine these args with a template (based on message_base.type)
   * to produce an internationalized message.
   * </pre>
   *
   * <code>.google.protobuf.Struct args = 4;</code>
   *
   * @return Whether the args field is set.
   */
  boolean hasArgs();
  /**
   *
   *
   * <pre>
   * A UI can combine these args with a template (based on message_base.type)
   * to produce an internationalized message.
   * </pre>
   *
   * <code>.google.protobuf.Struct args = 4;</code>
   *
   * @return The args.
   */
  com.google.protobuf.Struct getArgs();
  /**
   *
   *
   * <pre>
   * A UI can combine these args with a template (based on message_base.type)
   * to produce an internationalized message.
   * </pre>
   *
   * <code>.google.protobuf.Struct args = 4;</code>
   */
  com.google.protobuf.StructOrBuilder getArgsOrBuilder();
}
