Class CloudControl.Builder (0.3.0)

public static final class CloudControl.Builder extends GeneratedMessage.Builder<CloudControl.Builder> implements CloudControlOrBuilder

Cloud control for a framework.

Protobuf type google.cloud.designcenter.v1.CloudControl

Static Methods

getDescriptor()

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

Methods

addAllParameterSpecs(Iterable<? extends ParameterSpec> values)

public CloudControl.Builder addAllParameterSpecs(Iterable<? extends ParameterSpec> values)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.ParameterSpec>
Returns
Type Description
CloudControl.Builder

addAllParameters(Iterable<? extends Parameter> values)

public CloudControl.Builder addAllParameters(Iterable<? extends Parameter> values)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.Parameter>
Returns
Type Description
CloudControl.Builder

addParameterSpecs(ParameterSpec value)

public CloudControl.Builder addParameterSpecs(ParameterSpec value)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ParameterSpec
Returns
Type Description
CloudControl.Builder

addParameterSpecs(ParameterSpec.Builder builderForValue)

public CloudControl.Builder addParameterSpecs(ParameterSpec.Builder builderForValue)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ParameterSpec.Builder
Returns
Type Description
CloudControl.Builder

addParameterSpecs(int index, ParameterSpec value)

public CloudControl.Builder addParameterSpecs(int index, ParameterSpec value)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ParameterSpec
Returns
Type Description
CloudControl.Builder

addParameterSpecs(int index, ParameterSpec.Builder builderForValue)

public CloudControl.Builder addParameterSpecs(int index, ParameterSpec.Builder builderForValue)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ParameterSpec.Builder
Returns
Type Description
CloudControl.Builder

addParameterSpecsBuilder()

public ParameterSpec.Builder addParameterSpecsBuilder()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ParameterSpec.Builder

addParameterSpecsBuilder(int index)

public ParameterSpec.Builder addParameterSpecsBuilder(int index)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpec.Builder

addParameters(Parameter value)

public CloudControl.Builder addParameters(Parameter value)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Parameter
Returns
Type Description
CloudControl.Builder

addParameters(Parameter.Builder builderForValue)

public CloudControl.Builder addParameters(Parameter.Builder builderForValue)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Parameter.Builder
Returns
Type Description
CloudControl.Builder

addParameters(int index, Parameter value)

public CloudControl.Builder addParameters(int index, Parameter value)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
CloudControl.Builder

addParameters(int index, Parameter.Builder builderForValue)

public CloudControl.Builder addParameters(int index, Parameter.Builder builderForValue)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
CloudControl.Builder

addParametersBuilder()

public Parameter.Builder addParametersBuilder()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Parameter.Builder

addParametersBuilder(int index)

public Parameter.Builder addParametersBuilder(int index)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

build()

public CloudControl build()
Returns
Type Description
CloudControl

buildPartial()

public CloudControl buildPartial()
Returns
Type Description
CloudControl

clear()

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

clearDescription()

public CloudControl.Builder clearDescription()

Optional. The description of the cloud control.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.Builder

This builder for chaining.

clearEnforcementMode()

public CloudControl.Builder clearEnforcementMode()

Optional. The enforcement mode of the cloud control.

.google.cloud.designcenter.v1.CloudControl.EnforcementMode enforcement_mode = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.Builder

This builder for chaining.

clearMajorRevisionId()

public CloudControl.Builder clearMajorRevisionId()

Required. The major revision id of the cloud control.

int32 major_revision_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControl.Builder

This builder for chaining.

clearName()

public CloudControl.Builder clearName()

Required. The name of the cloud control.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControl.Builder

This builder for chaining.

clearParameterSpecs()

public CloudControl.Builder clearParameterSpecs()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.Builder

clearParameters()

public CloudControl.Builder clearParameters()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.Builder

getDefaultInstanceForType()

public CloudControl getDefaultInstanceForType()
Returns
Type Description
CloudControl

getDescription()

public String getDescription()

Optional. The description of the cloud control.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the cloud control.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEnforcementMode()

public CloudControl.EnforcementMode getEnforcementMode()

Optional. The enforcement mode of the cloud control.

.google.cloud.designcenter.v1.CloudControl.EnforcementMode enforcement_mode = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.EnforcementMode

The enforcementMode.

getEnforcementModeValue()

public int getEnforcementModeValue()

Optional. The enforcement mode of the cloud control.

.google.cloud.designcenter.v1.CloudControl.EnforcementMode enforcement_mode = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for enforcementMode.

getMajorRevisionId()

public int getMajorRevisionId()

Required. The major revision id of the cloud control.

int32 major_revision_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The majorRevisionId.

getName()

public String getName()

Required. The name of the cloud control.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the cloud control.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParameterSpecs(int index)

public ParameterSpec getParameterSpecs(int index)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpec

getParameterSpecsBuilder(int index)

public ParameterSpec.Builder getParameterSpecsBuilder(int index)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpec.Builder

getParameterSpecsBuilderList()

public List<ParameterSpec.Builder> getParameterSpecsBuilderList()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getParameterSpecsCount()

public int getParameterSpecsCount()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParameterSpecsList()

public List<ParameterSpec> getParameterSpecsList()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ParameterSpec>

getParameterSpecsOrBuilder(int index)

public ParameterSpecOrBuilder getParameterSpecsOrBuilder(int index)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpecOrBuilder

getParameterSpecsOrBuilderList()

public List<? extends ParameterSpecOrBuilder> getParameterSpecsOrBuilderList()

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterSpecOrBuilder>

getParameters(int index)

public Parameter getParameters(int index)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getParametersBuilder(int index)

public Parameter.Builder getParametersBuilder(int index)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

getParametersBuilderList()

public List<Parameter.Builder> getParametersBuilderList()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersList()

public List<Parameter> getParametersList()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public ParameterOrBuilder getParametersOrBuilder(int index)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudControl other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeParameterSpecs(int index)

public CloudControl.Builder removeParameterSpecs(int index)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControl.Builder

removeParameters(int index)

public CloudControl.Builder removeParameters(int index)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControl.Builder

setDescription(String value)

public CloudControl.Builder setDescription(String value)

Optional. The description of the cloud control.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CloudControl.Builder setDescriptionBytes(ByteString value)

Optional. The description of the cloud control.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setEnforcementMode(CloudControl.EnforcementMode value)

public CloudControl.Builder setEnforcementMode(CloudControl.EnforcementMode value)

Optional. The enforcement mode of the cloud control.

.google.cloud.designcenter.v1.CloudControl.EnforcementMode enforcement_mode = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudControl.EnforcementMode

The enforcementMode to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setEnforcementModeValue(int value)

public CloudControl.Builder setEnforcementModeValue(int value)

Optional. The enforcement mode of the cloud control.

.google.cloud.designcenter.v1.CloudControl.EnforcementMode enforcement_mode = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for enforcementMode to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setMajorRevisionId(int value)

public CloudControl.Builder setMajorRevisionId(int value)

Required. The major revision id of the cloud control.

int32 major_revision_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The majorRevisionId to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setName(String value)

public CloudControl.Builder setName(String value)

Required. The name of the cloud control.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CloudControl.Builder setNameBytes(ByteString value)

Required. The name of the cloud control.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CloudControl.Builder

This builder for chaining.

setParameterSpecs(int index, ParameterSpec value)

public CloudControl.Builder setParameterSpecs(int index, ParameterSpec value)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ParameterSpec
Returns
Type Description
CloudControl.Builder

setParameterSpecs(int index, ParameterSpec.Builder builderForValue)

public CloudControl.Builder setParameterSpecs(int index, ParameterSpec.Builder builderForValue)

Optional. The specifications of the parameters supported by the cloud control.

repeated .google.cloud.designcenter.v1.ParameterSpec parameter_specs = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ParameterSpec.Builder
Returns
Type Description
CloudControl.Builder

setParameters(int index, Parameter value)

public CloudControl.Builder setParameters(int index, Parameter value)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
CloudControl.Builder

setParameters(int index, Parameter.Builder builderForValue)

public CloudControl.Builder setParameters(int index, Parameter.Builder builderForValue)

Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.

repeated .google.cloud.designcenter.v1.Parameter parameters = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
CloudControl.Builder