Class Service.ValidateAttestationOccurrenceResponse (1.23.0)

public static final class Service.ValidateAttestationOccurrenceResponse extends GeneratedMessageV3 implements Service.ValidateAttestationOccurrenceResponseOrBuilder

Response message for ValidationHelperV1.ValidateAttestationOccurrence.

Protobuf type google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Service.ValidateAttestationOccurrenceResponse

Static Fields

DENIAL_REASON_FIELD_NUMBER

public static final int DENIAL_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Service.ValidateAttestationOccurrenceResponse getDefaultInstance()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse

getDescriptor()

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

newBuilder()

public static Service.ValidateAttestationOccurrenceResponse.Builder newBuilder()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

newBuilder(Service.ValidateAttestationOccurrenceResponse prototype)

public static Service.ValidateAttestationOccurrenceResponse.Builder newBuilder(Service.ValidateAttestationOccurrenceResponse prototype)
Parameter
NameDescription
prototypeService.ValidateAttestationOccurrenceResponse
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

parseDelimitedFrom(InputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Service.ValidateAttestationOccurrenceResponse> parser()
Returns
TypeDescription
Parser<ValidateAttestationOccurrenceResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse

getDenialReason()

public String getDenialReason()

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Returns
TypeDescription
String

The denialReason.

getDenialReasonBytes()

public ByteString getDenialReasonBytes()

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Returns
TypeDescription
ByteString

The bytes for denialReason.

getParserForType()

public Parser<Service.ValidateAttestationOccurrenceResponse> getParserForType()
Returns
TypeDescription
Parser<ValidateAttestationOccurrenceResponse>
Overrides

getResult()

public Service.ValidateAttestationOccurrenceResponse.Result getResult()

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Result

The result.

getResultValue()

public int getResultValue()

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for result.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 Service.ValidateAttestationOccurrenceResponse.Builder newBuilderForType()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.ValidateAttestationOccurrenceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Service.ValidateAttestationOccurrenceResponse.Builder toBuilder()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

writeTo(CodedOutputStream output)

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