com.google.api.servicecontrol.v1.QuotaErrorOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-service-control-v1 Show documentation
Show all versions of proto-google-cloud-service-control-v1 Show documentation
Proto library for google-cloud-service-control
The newest version!
/*
* Copyright 2024 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/api/servicecontrol/v1/quota_controller.proto
// Protobuf Java Version: 3.25.5
package com.google.api.servicecontrol.v1;
public interface QuotaErrorOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.QuotaError)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Error code.
*
*
* .google.api.servicecontrol.v1.QuotaError.Code code = 1;
*
* @return The enum numeric value on the wire for code.
*/
int getCodeValue();
/**
*
*
*
* Error code.
*
*
* .google.api.servicecontrol.v1.QuotaError.Code code = 1;
*
* @return The code.
*/
com.google.api.servicecontrol.v1.QuotaError.Code getCode();
/**
*
*
*
* Subject to whom this error applies. See the specific enum for more details
* on this field. For example, "clientip:<ip address of client>" or
* "project:<Google developer project id>".
*
*
* string subject = 2;
*
* @return The subject.
*/
java.lang.String getSubject();
/**
*
*
*
* Subject to whom this error applies. See the specific enum for more details
* on this field. For example, "clientip:<ip address of client>" or
* "project:<Google developer project id>".
*
*
* string subject = 2;
*
* @return The bytes for subject.
*/
com.google.protobuf.ByteString getSubjectBytes();
/**
*
*
*
* Free-form text that provides details on the cause of the error.
*
*
* string description = 3;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Free-form text that provides details on the cause of the error.
*
*
* string description = 3;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Contains additional information about the quota error.
* If available, `status.code` will be non zero.
*
*
* .google.rpc.Status status = 4;
*
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
*
*
* Contains additional information about the quota error.
* If available, `status.code` will be non zero.
*
*
* .google.rpc.Status status = 4;
*
* @return The status.
*/
com.google.rpc.Status getStatus();
/**
*
*
*
* Contains additional information about the quota error.
* If available, `status.code` will be non zero.
*
*
* .google.rpc.Status status = 4;
*/
com.google.rpc.StatusOrBuilder getStatusOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy