Class TargetSite.FailureReason (0.39.0)

public static final class TargetSite.FailureReason extends GeneratedMessageV3 implements TargetSite.FailureReasonOrBuilder

Site search indexing failure reasons.

Protobuf type google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason

Static Fields

QUOTA_FAILURE_FIELD_NUMBER

public static final int QUOTA_FAILURE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(TargetSite.FailureReason prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getFailureCase()

public TargetSite.FailureReason.FailureCase getFailureCase()
Returns
Type Description
TargetSite.FailureReason.FailureCase

getParserForType()

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

getQuotaFailure()

public TargetSite.FailureReason.QuotaFailure getQuotaFailure()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailure

The quotaFailure.

getQuotaFailureOrBuilder()

public TargetSite.FailureReason.QuotaFailureOrBuilder getQuotaFailureOrBuilder()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailureOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasQuotaFailure()

public boolean hasQuotaFailure()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
boolean

Whether the quotaFailure field is set.

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.Builder newBuilderForType()
Returns
Type Description
TargetSite.FailureReason.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetSite.FailureReason.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TargetSite.FailureReason.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.Builder toBuilder()
Returns
Type Description
TargetSite.FailureReason.Builder

writeTo(CodedOutputStream output)

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