Class TargetSite.FailureReason.QuotaFailure (0.33.0)

public static final class TargetSite.FailureReason.QuotaFailure extends GeneratedMessageV3 implements TargetSite.FailureReason.QuotaFailureOrBuilder

Failed due to insufficient quota.

Protobuf type google.cloud.discoveryengine.v1.TargetSite.FailureReason.QuotaFailure

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TargetSite.FailureReason.QuotaFailure

Static Fields

TOTAL_REQUIRED_QUOTA_FIELD_NUMBER

public static final int TOTAL_REQUIRED_QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetSite.FailureReason.QuotaFailure getDefaultInstance()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TargetSite.FailureReason.QuotaFailure.Builder newBuilder()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

newBuilder(TargetSite.FailureReason.QuotaFailure prototype)

public static TargetSite.FailureReason.QuotaFailure.Builder newBuilder(TargetSite.FailureReason.QuotaFailure prototype)
Parameter
NameDescription
prototypeTargetSite.FailureReason.QuotaFailure
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

parseDelimitedFrom(InputStream input)

public static TargetSite.FailureReason.QuotaFailure parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TargetSite.FailureReason.QuotaFailure parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TargetSite.FailureReason.QuotaFailure parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TargetSite.FailureReason.QuotaFailure> parser()
Returns
TypeDescription
Parser<QuotaFailure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TargetSite.FailureReason.QuotaFailure getDefaultInstanceForType()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

getParserForType()

public Parser<TargetSite.FailureReason.QuotaFailure> getParserForType()
Returns
TypeDescription
Parser<QuotaFailure>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalRequiredQuota()

public long getTotalRequiredQuota()

This number is an estimation on how much total quota this project needs to successfully complete indexing.

int64 total_required_quota = 1;

Returns
TypeDescription
long

The totalRequiredQuota.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TargetSite.FailureReason.QuotaFailure.Builder newBuilderForType()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetSite.FailureReason.QuotaFailure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TargetSite.FailureReason.QuotaFailure.Builder toBuilder()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException