Class Workload.SaaEnrollmentResponse (2.44.0)

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

Signed Access Approvals (SAA) enrollment response.

Protobuf type google.cloud.assuredworkloads.v1.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
Type Description
int

SETUP_STATUS_FIELD_NUMBER

public static final int SETUP_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Workload.SaaEnrollmentResponse getDefaultInstance()
Returns
Type Description
Workload.SaaEnrollmentResponse

getDescriptor()

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

newBuilder()

public static Workload.SaaEnrollmentResponse.Builder newBuilder()
Returns
Type Description
Workload.SaaEnrollmentResponse.Builder

newBuilder(Workload.SaaEnrollmentResponse prototype)

public static Workload.SaaEnrollmentResponse.Builder newBuilder(Workload.SaaEnrollmentResponse prototype)
Parameter
Name Description
prototype Workload.SaaEnrollmentResponse
Returns
Type Description
Workload.SaaEnrollmentResponse.Builder

parseDelimitedFrom(InputStream input)

public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Workload.SaaEnrollmentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Workload.SaaEnrollmentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Workload.SaaEnrollmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Workload.SaaEnrollmentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Workload.SaaEnrollmentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Workload.SaaEnrollmentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Workload.SaaEnrollmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Workload.SaaEnrollmentResponse getDefaultInstanceForType()
Returns
Type Description
Workload.SaaEnrollmentResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSetupErrors(int index)

public Workload.SaaEnrollmentResponse.SetupError getSetupErrors(int index)

Indicates SAA enrollment setup error if any.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Workload.SaaEnrollmentResponse.SetupError

The setupErrors at the given index.

getSetupErrorsCount()

public int getSetupErrorsCount()

Indicates SAA enrollment setup error if any.

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

Returns
Type Description
int

The count of setupErrors.

getSetupErrorsList()

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

Indicates SAA enrollment setup error if any.

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

Returns
Type Description
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.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
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.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;

Returns
Type Description
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.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;

Returns
Type Description
Workload.SaaEnrollmentResponse.SetupState

The setupStatus.

getSetupStatusValue()

public int getSetupStatusValue()

Indicates SAA enrollment status of a given workload.

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

Returns
Type Description
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.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Workload.SaaEnrollmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Workload.SaaEnrollmentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Workload.SaaEnrollmentResponse.Builder toBuilder()
Returns
Type Description
Workload.SaaEnrollmentResponse.Builder

writeTo(CodedOutputStream output)

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