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
Fields
SETUP_ERRORS_FIELD_NUMBER
public static final int SETUP_ERRORS_FIELD_NUMBER
Field Value
SETUP_STATUS_FIELD_NUMBER
public static final int SETUP_STATUS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Workload.SaaEnrollmentResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public Workload.SaaEnrollmentResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Workload.SaaEnrollmentResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
getSetupErrorsCount()
public int getSetupErrorsCount()
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1beta1.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.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Returns
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
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.v1beta1.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.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Returns
getSetupStatusValue()
public int getSetupStatusValue()
Indicates SAA enrollment status of a given workload.
optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for setupStatus.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSetupStatus()
public boolean hasSetupStatus()
Indicates SAA enrollment status of a given workload.
optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Returns
Type | Description |
boolean | Whether the setupStatus field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Workload.SaaEnrollmentResponse.Builder newBuilder()
Returns
newBuilder(Workload.SaaEnrollmentResponse prototype)
public static Workload.SaaEnrollmentResponse.Builder newBuilder(Workload.SaaEnrollmentResponse prototype)
Parameter
Returns
newBuilderForType()
public Workload.SaaEnrollmentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Workload.SaaEnrollmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Workload.SaaEnrollmentResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Workload.SaaEnrollmentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Workload.SaaEnrollmentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Workload.SaaEnrollmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Workload.SaaEnrollmentResponse> parser()
Returns
toBuilder()
public Workload.SaaEnrollmentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions