Class CloudControlParameterStates.Builder (0.21.0)

public static final class CloudControlParameterStates.Builder extends GeneratedMessage.Builder<CloudControlParameterStates.Builder> implements CloudControlParameterStatesOrBuilder

Collection of parameter states for a cloud control.

Protobuf type google.cloud.auditmanager.v1.CloudControlParameterStates

Static Methods

getDescriptor()

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

Methods

addAllParameterStates(Iterable<? extends ParameterState> values)

public CloudControlParameterStates.Builder addAllParameterStates(Iterable<? extends ParameterState> values)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.auditmanager.v1.ParameterState>
Returns
Type Description
CloudControlParameterStates.Builder

addParameterStates(ParameterState value)

public CloudControlParameterStates.Builder addParameterStates(ParameterState value)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ParameterState
Returns
Type Description
CloudControlParameterStates.Builder

addParameterStates(ParameterState.Builder builderForValue)

public CloudControlParameterStates.Builder addParameterStates(ParameterState.Builder builderForValue)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ParameterState.Builder
Returns
Type Description
CloudControlParameterStates.Builder

addParameterStates(int index, ParameterState value)

public CloudControlParameterStates.Builder addParameterStates(int index, ParameterState value)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ParameterState
Returns
Type Description
CloudControlParameterStates.Builder

addParameterStates(int index, ParameterState.Builder builderForValue)

public CloudControlParameterStates.Builder addParameterStates(int index, ParameterState.Builder builderForValue)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ParameterState.Builder
Returns
Type Description
CloudControlParameterStates.Builder

addParameterStatesBuilder()

public ParameterState.Builder addParameterStatesBuilder()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ParameterState.Builder

addParameterStatesBuilder(int index)

public ParameterState.Builder addParameterStatesBuilder(int index)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ParameterState.Builder

build()

public CloudControlParameterStates build()
Returns
Type Description
CloudControlParameterStates

buildPartial()

public CloudControlParameterStates buildPartial()
Returns
Type Description
CloudControlParameterStates

clear()

public CloudControlParameterStates.Builder clear()
Returns
Type Description
CloudControlParameterStates.Builder
Overrides

clearParameterStates()

public CloudControlParameterStates.Builder clearParameterStates()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlParameterStates.Builder

getDefaultInstanceForType()

public CloudControlParameterStates getDefaultInstanceForType()
Returns
Type Description
CloudControlParameterStates

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParameterStates(int index)

public ParameterState getParameterStates(int index)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ParameterState

getParameterStatesBuilder(int index)

public ParameterState.Builder getParameterStatesBuilder(int index)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ParameterState.Builder

getParameterStatesBuilderList()

public List<ParameterState.Builder> getParameterStatesBuilderList()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getParameterStatesCount()

public int getParameterStatesCount()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getParameterStatesList()

public List<ParameterState> getParameterStatesList()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ParameterState>

getParameterStatesOrBuilder(int index)

public ParameterStateOrBuilder getParameterStatesOrBuilder(int index)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ParameterStateOrBuilder

getParameterStatesOrBuilderList()

public List<? extends ParameterStateOrBuilder> getParameterStatesOrBuilderList()

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.auditmanager.v1.ParameterStateOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudControlParameterStates other)

public CloudControlParameterStates.Builder mergeFrom(CloudControlParameterStates other)
Parameter
Name Description
other CloudControlParameterStates
Returns
Type Description
CloudControlParameterStates.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudControlParameterStates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlParameterStates.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudControlParameterStates.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudControlParameterStates.Builder
Overrides

removeParameterStates(int index)

public CloudControlParameterStates.Builder removeParameterStates(int index)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudControlParameterStates.Builder

setParameterStates(int index, ParameterState value)

public CloudControlParameterStates.Builder setParameterStates(int index, ParameterState value)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ParameterState
Returns
Type Description
CloudControlParameterStates.Builder

setParameterStates(int index, ParameterState.Builder builderForValue)

public CloudControlParameterStates.Builder setParameterStates(int index, ParameterState.Builder builderForValue)

Output only. The parameter states for the cloud control.

repeated .google.cloud.auditmanager.v1.ParameterState parameter_states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ParameterState.Builder
Returns
Type Description
CloudControlParameterStates.Builder