Class Workload.SaaEnrollmentResponse (2.27.0)

public static final class Workload.SaaEnrollmentResponse extends GeneratedMessageV3 implements Workload.SaaEnrollmentResponseOrBuilder

Signed Access Approvals (SAA) enrollment response.

Protobuf type google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Workload.SaaEnrollmentResponse

Static Fields

SETUP_ERRORS_FIELD_NUMBER

public static final int SETUP_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

SETUP_STATUS_FIELD_NUMBER

public static final int SETUP_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Workload.SaaEnrollmentResponse getDefaultInstance()
Returns
TypeDescription
Workload.SaaEnrollmentResponse

getDescriptor()

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

newBuilder()

public static Workload.SaaEnrollmentResponse.Builder newBuilder()
Returns
TypeDescription
Workload.SaaEnrollmentResponse.Builder

newBuilder(Workload.SaaEnrollmentResponse prototype)

public static Workload.SaaEnrollmentResponse.Builder newBuilder(Workload.SaaEnrollmentResponse prototype)
Parameter
NameDescription
prototypeWorkload.SaaEnrollmentResponse
Returns
TypeDescription
Workload.SaaEnrollmentResponse.Builder

parseDelimitedFrom(InputStream input)

public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Workload.SaaEnrollmentResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Workload.SaaEnrollmentResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Workload.SaaEnrollmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Workload.SaaEnrollmentResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Workload.SaaEnrollmentResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Workload.SaaEnrollmentResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Workload.SaaEnrollmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Workload.SaaEnrollmentResponse> parser()
Returns
TypeDescription
Parser<SaaEnrollmentResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Workload.SaaEnrollmentResponse getDefaultInstanceForType()
Returns
TypeDescription
Workload.SaaEnrollmentResponse

getParserForType()

public Parser<Workload.SaaEnrollmentResponse> getParserForType()
Returns
TypeDescription
Parser<SaaEnrollmentResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSetupErrors(int index)

public Workload.SaaEnrollmentResponse.SetupError getSetupErrors(int index)

Indicates SAA enrollment setup error if any.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
Workload.SaaEnrollmentResponse.SetupError

The setupErrors at the given index.

getSetupErrorsCount()

public int getSetupErrorsCount()

Indicates SAA enrollment setup error if any.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Returns
TypeDescription
int

The count of setupErrors.

getSetupErrorsList()

public List<Workload.SaaEnrollmentResponse.SetupError> getSetupErrorsList()

Indicates SAA enrollment setup error if any.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Returns
TypeDescription
List<SetupError>

A list containing the setupErrors.

getSetupErrorsValue(int index)

public int getSetupErrorsValue(int index)

Indicates SAA enrollment setup error if any.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of setupErrors at the given index.

getSetupErrorsValueList()

public List<Integer> getSetupErrorsValueList()

Indicates SAA enrollment setup error if any.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for setupErrors.

getSetupStatus()

public Workload.SaaEnrollmentResponse.SetupState getSetupStatus()

Indicates SAA enrollment status of a given workload.

optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;

Returns
TypeDescription
Workload.SaaEnrollmentResponse.SetupState

The setupStatus.

getSetupStatusValue()

public int getSetupStatusValue()

Indicates SAA enrollment status of a given workload.

optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for setupStatus.

hasSetupStatus()

public boolean hasSetupStatus()

Indicates SAA enrollment status of a given workload.

optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;

Returns
TypeDescription
boolean

Whether the setupStatus 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 Workload.SaaEnrollmentResponse.Builder newBuilderForType()
Returns
TypeDescription
Workload.SaaEnrollmentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Workload.SaaEnrollmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Workload.SaaEnrollmentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Workload.SaaEnrollmentResponse.Builder toBuilder()
Returns
TypeDescription
Workload.SaaEnrollmentResponse.Builder

writeTo(CodedOutputStream output)

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