- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.4
- 0.9.0
- 0.8.2
public static final class Workload.SaaEnrollmentResponse.Builder extends GeneratedMessageV3.Builder<Workload.SaaEnrollmentResponse.Builder> implements Workload.SaaEnrollmentResponseOrBuilder
Signed Access Approvals (SAA) enrollment response.
Protobuf type google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Workload.SaaEnrollmentResponse.BuilderImplements
Workload.SaaEnrollmentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSetupErrors(Iterable<? extends Workload.SaaEnrollmentResponse.SetupError> values)
public Workload.SaaEnrollmentResponse.Builder addAllSetupErrors(Iterable<? extends Workload.SaaEnrollmentResponse.SetupError> values)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError> The setupErrors to add. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
addAllSetupErrorsValue(Iterable<Integer> values)
public Workload.SaaEnrollmentResponse.Builder addAllSetupErrorsValue(Iterable<Integer> values)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for setupErrors to add. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Workload.SaaEnrollmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
addSetupErrors(Workload.SaaEnrollmentResponse.SetupError value)
public Workload.SaaEnrollmentResponse.Builder addSetupErrors(Workload.SaaEnrollmentResponse.SetupError value)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameter | |
---|---|
Name | Description |
value | Workload.SaaEnrollmentResponse.SetupError The setupErrors to add. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
addSetupErrorsValue(int value)
public Workload.SaaEnrollmentResponse.Builder addSetupErrorsValue(int value)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for setupErrors to add. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
build()
public Workload.SaaEnrollmentResponse build()
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse |
buildPartial()
public Workload.SaaEnrollmentResponse buildPartial()
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse |
clear()
public Workload.SaaEnrollmentResponse.Builder clear()
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public Workload.SaaEnrollmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Workload.SaaEnrollmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
clearSetupErrors()
public Workload.SaaEnrollmentResponse.Builder clearSetupErrors()
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
clearSetupStatus()
public Workload.SaaEnrollmentResponse.Builder clearSetupStatus()
Indicates SAA enrollment status of a given workload.
optional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
clone()
public Workload.SaaEnrollmentResponse.Builder clone()
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
getDefaultInstanceForType()
public Workload.SaaEnrollmentResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Workload.SaaEnrollmentResponse other)
public Workload.SaaEnrollmentResponse.Builder mergeFrom(Workload.SaaEnrollmentResponse other)
Parameter | |
---|---|
Name | Description |
other | Workload.SaaEnrollmentResponse |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workload.SaaEnrollmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Workload.SaaEnrollmentResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Workload.SaaEnrollmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Workload.SaaEnrollmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Workload.SaaEnrollmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
setSetupErrors(int index, Workload.SaaEnrollmentResponse.SetupError value)
public Workload.SaaEnrollmentResponse.Builder setSetupErrors(int index, Workload.SaaEnrollmentResponse.SetupError value)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | Workload.SaaEnrollmentResponse.SetupError The setupErrors to set. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
setSetupErrorsValue(int index, int value)
public Workload.SaaEnrollmentResponse.Builder setSetupErrorsValue(int index, int value)
Indicates SAA enrollment setup error if any.
repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for setupErrors to set. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
setSetupStatus(Workload.SaaEnrollmentResponse.SetupState value)
public Workload.SaaEnrollmentResponse.Builder setSetupStatus(Workload.SaaEnrollmentResponse.SetupState value)
Indicates SAA enrollment status of a given workload.
optional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Parameter | |
---|---|
Name | Description |
value | Workload.SaaEnrollmentResponse.SetupState The setupStatus to set. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
setSetupStatusValue(int value)
public Workload.SaaEnrollmentResponse.Builder setSetupStatusValue(int value)
Indicates SAA enrollment status of a given workload.
optional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for setupStatus to set. |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Workload.SaaEnrollmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse.Builder |