Class TargetSite.FailureReason (0.35.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
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(TargetSite.FailureReason prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getFailureCase()

public TargetSite.FailureReason.FailureCase getFailureCase()
Returns
TypeDescription
TargetSite.FailureReason.FailureCase

getParserForType()

public Parser<TargetSite.FailureReason> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TargetSite.FailureReason.QuotaFailureOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasQuotaFailure()

public boolean hasQuotaFailure()

Failed due to insufficient quota.

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

Returns
TypeDescription
boolean

Whether the quotaFailure field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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