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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Workload.SaaEnrollmentResponse.Builder newBuilder()
newBuilder(Workload.SaaEnrollmentResponse prototype)
public static Workload.SaaEnrollmentResponse.Builder newBuilder(Workload.SaaEnrollmentResponse prototype)
public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input)
public static Workload.SaaEnrollmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Workload.SaaEnrollmentResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Workload.SaaEnrollmentResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input)
public static Workload.SaaEnrollmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(InputStream input)
public static Workload.SaaEnrollmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Workload.SaaEnrollmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Workload.SaaEnrollmentResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Workload.SaaEnrollmentResponse getDefaultInstanceForType()
getParserForType()
public Parser<Workload.SaaEnrollmentResponse> getParserForType()
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.
|
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;
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Workload.SaaEnrollmentResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Workload.SaaEnrollmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Workload.SaaEnrollmentResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides