Class TargetSite.FailureReason.QuotaFailure (0.51.0)

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

Failed due to insufficient quota.

Protobuf type google.cloud.discoveryengine.v1beta.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
Type Description
int

Static Methods

getDefaultInstance()

public static TargetSite.FailureReason.QuotaFailure getDefaultInstance()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TargetSite.FailureReason.QuotaFailure.Builder newBuilder()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

newBuilder(TargetSite.FailureReason.QuotaFailure prototype)

public static TargetSite.FailureReason.QuotaFailure.Builder newBuilder(TargetSite.FailureReason.QuotaFailure prototype)
Parameter
Name Description
prototype TargetSite.FailureReason.QuotaFailure
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

parseDelimitedFrom(InputStream input)

public static TargetSite.FailureReason.QuotaFailure parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TargetSite.FailureReason.QuotaFailure parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TargetSite.FailureReason.QuotaFailure parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TargetSite.FailureReason.QuotaFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TargetSite.FailureReason.QuotaFailure getDefaultInstanceForType()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
long

The totalRequiredQuota.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TargetSite.FailureReason.QuotaFailure.Builder newBuilderForType()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetSite.FailureReason.QuotaFailure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TargetSite.FailureReason.QuotaFailure.Builder toBuilder()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException