Class Service.ValidateAttestationOccurrenceResponse (1.47.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
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Service.ValidateAttestationOccurrenceResponse getDefaultInstance()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse

getDescriptor()

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

newBuilder()

public static Service.ValidateAttestationOccurrenceResponse.Builder newBuilder()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

newBuilder(Service.ValidateAttestationOccurrenceResponse prototype)

public static Service.ValidateAttestationOccurrenceResponse.Builder newBuilder(Service.ValidateAttestationOccurrenceResponse prototype)
Parameter
Name Description
prototype Service.ValidateAttestationOccurrenceResponse
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

parseDelimitedFrom(InputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Service.ValidateAttestationOccurrenceResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse

getDenialReason()

public String getDenialReason()

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

string denial_reason = 2;

Returns
Type Description
String

The denialReason.

getDenialReasonBytes()

public ByteString getDenialReasonBytes()

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

string denial_reason = 2;

Returns
Type Description
ByteString

The bytes for denialReason.

getParserForType()

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

getResult()

public Service.ValidateAttestationOccurrenceResponse.Result getResult()

The result of the Attestation validation.

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

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Result

The result.

getResultValue()

public int getResultValue()

The result of the Attestation validation.

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

Returns
Type Description
int

The enum numeric value on the wire for result.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.ValidateAttestationOccurrenceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Service.ValidateAttestationOccurrenceResponse.Builder toBuilder()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

writeTo(CodedOutputStream output)

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