Class Framework.Builder (0.3.0)

public static final class Framework.Builder extends GeneratedMessage.Builder<Framework.Builder> implements FrameworkOrBuilder

Framework for assessment.

Protobuf type google.cloud.designcenter.v1.Framework

Implements

FrameworkOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllCloudControlDetails(Iterable<? extends CloudControl> values)

public Framework.Builder addAllCloudControlDetails(Iterable<? extends CloudControl> values)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

addCloudControlDetails(CloudControl value)

public Framework.Builder addCloudControlDetails(CloudControl value)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudControl
Returns
Type Description
Framework.Builder

addCloudControlDetails(CloudControl.Builder builderForValue)

public Framework.Builder addCloudControlDetails(CloudControl.Builder builderForValue)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

addCloudControlDetails(int index, CloudControl value)

public Framework.Builder addCloudControlDetails(int index, CloudControl value)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

addCloudControlDetails(int index, CloudControl.Builder builderForValue)

public Framework.Builder addCloudControlDetails(int index, CloudControl.Builder builderForValue)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

addCloudControlDetailsBuilder()

public CloudControl.Builder addCloudControlDetailsBuilder()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControl.Builder

addCloudControlDetailsBuilder(int index)

public CloudControl.Builder addCloudControlDetailsBuilder(int index)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControl.Builder

build()

public Framework build()
Returns
Type Description
Framework

buildPartial()

public Framework buildPartial()
Returns
Type Description
Framework

clear()

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

clearActive()

public Framework.Builder clearActive()

Optional. Whether the framework is active.

bool active = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

This builder for chaining.

clearCloudControlDetails()

public Framework.Builder clearCloudControlDetails()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

clearDeploymentStatus()

public Framework.Builder clearDeploymentStatus()

Optional. The deployment status of the framework.

.google.cloud.designcenter.v1.Framework.DeploymentStatus deployment_status = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

This builder for chaining.

clearDescription()

public Framework.Builder clearDescription()

Optional. The framework description.

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

Returns
Type Description
Framework.Builder

This builder for chaining.

clearDisplayName()

public Framework.Builder clearDisplayName()

Optional. The framework display name.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

This builder for chaining.

clearMajorRevisionId()

public Framework.Builder clearMajorRevisionId()

Optional. The major revision id of the framework.

int32 major_revision_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

This builder for chaining.

clearManagedProjectApplicable()

public Framework.Builder clearManagedProjectApplicable()

Output only. Indicates if the framework is defined in the managed project. Only managed-project frameworks can be manually attached.

bool managed_project_applicable = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Framework.Builder

This builder for chaining.

clearName()

public Framework.Builder clearName()

Required. The framework name.

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

Returns
Type Description
Framework.Builder

This builder for chaining.

clearParentDomain()

public Framework.Builder clearParentDomain()

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Framework.Builder

clearUrl()

public Framework.Builder clearUrl()

Optional. The URL to a framework.

string url = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

This builder for chaining.

getActive()

public boolean getActive()

Optional. Whether the framework is active.

bool active = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The active.

getCloudControlDetails(int index)

public CloudControl getCloudControlDetails(int index)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControl

getCloudControlDetailsBuilder(int index)

public CloudControl.Builder getCloudControlDetailsBuilder(int index)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControl.Builder

getCloudControlDetailsBuilderList()

public List<CloudControl.Builder> getCloudControlDetailsBuilderList()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCloudControlDetailsCount()

public int getCloudControlDetailsCount()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCloudControlDetailsList()

public List<CloudControl> getCloudControlDetailsList()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CloudControl>

getCloudControlDetailsOrBuilder(int index)

public CloudControlOrBuilder getCloudControlDetailsOrBuilder(int index)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlOrBuilder

getCloudControlDetailsOrBuilderList()

public List<? extends CloudControlOrBuilder> getCloudControlDetailsOrBuilderList()

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

getDefaultInstanceForType()

public Framework getDefaultInstanceForType()
Returns
Type Description
Framework

getDeploymentStatus()

public Framework.DeploymentStatus getDeploymentStatus()

Optional. The deployment status of the framework.

.google.cloud.designcenter.v1.Framework.DeploymentStatus deployment_status = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.DeploymentStatus

The deploymentStatus.

getDeploymentStatusValue()

public int getDeploymentStatusValue()

Optional. The deployment status of the framework.

.google.cloud.designcenter.v1.Framework.DeploymentStatus deployment_status = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for deploymentStatus.

getDescription()

public String getDescription()

Optional. The framework description.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The framework description.

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

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. The framework display name.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The framework display name.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getMajorRevisionId()

public int getMajorRevisionId()

Optional. The major revision id of the framework.

int32 major_revision_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The majorRevisionId.

getManagedProjectApplicable()

public boolean getManagedProjectApplicable()

Output only. Indicates if the framework is defined in the managed project. Only managed-project frameworks can be manually attached.

bool managed_project_applicable = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The managedProjectApplicable.

getName()

public String getName()

Required. The framework name.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The framework name.

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

Returns
Type Description
ByteString

The bytes for name.

getParentDomain()

public Domain getParentDomain()

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Domain

The parentDomain.

getParentDomainBuilder()

public Domain.Builder getParentDomainBuilder()

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Domain.Builder

getParentDomainOrBuilder()

public DomainOrBuilder getParentDomainOrBuilder()

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DomainOrBuilder

getUrl()

public String getUrl()

Optional. The URL to a framework.

string url = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Optional. The URL to a framework.

string url = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for url.

hasParentDomain()

public boolean hasParentDomain()

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the parentDomain field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Framework other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParentDomain(Domain value)

public Framework.Builder mergeParentDomain(Domain value)

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Domain
Returns
Type Description
Framework.Builder

removeCloudControlDetails(int index)

public Framework.Builder removeCloudControlDetails(int index)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.Builder

setActive(boolean value)

public Framework.Builder setActive(boolean value)

Optional. Whether the framework is active.

bool active = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The active to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setCloudControlDetails(int index, CloudControl value)

public Framework.Builder setCloudControlDetails(int index, CloudControl value)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

setCloudControlDetails(int index, CloudControl.Builder builderForValue)

public Framework.Builder setCloudControlDetails(int index, CloudControl.Builder builderForValue)

Optional. The cloud controls that are associated with the framework.

repeated .google.cloud.designcenter.v1.CloudControl cloud_control_details = 12 [(.google.api.field_behavior) = OPTIONAL];

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

setDeploymentStatus(Framework.DeploymentStatus value)

public Framework.Builder setDeploymentStatus(Framework.DeploymentStatus value)

Optional. The deployment status of the framework.

.google.cloud.designcenter.v1.Framework.DeploymentStatus deployment_status = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Framework.DeploymentStatus

The deploymentStatus to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setDeploymentStatusValue(int value)

public Framework.Builder setDeploymentStatusValue(int value)

Optional. The deployment status of the framework.

.google.cloud.designcenter.v1.Framework.DeploymentStatus deployment_status = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
Framework.Builder

This builder for chaining.

setDescription(String value)

public Framework.Builder setDescription(String value)

Optional. The framework description.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Framework.Builder setDescriptionBytes(ByteString value)

Optional. The framework description.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setDisplayName(String value)

public Framework.Builder setDisplayName(String value)

Optional. The framework display name.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Framework.Builder setDisplayNameBytes(ByteString value)

Optional. The framework display name.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setMajorRevisionId(int value)

public Framework.Builder setMajorRevisionId(int value)

Optional. The major revision id of the framework.

int32 major_revision_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The majorRevisionId to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setManagedProjectApplicable(boolean value)

public Framework.Builder setManagedProjectApplicable(boolean value)

Output only. Indicates if the framework is defined in the managed project. Only managed-project frameworks can be manually attached.

bool managed_project_applicable = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The managedProjectApplicable to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setName(String value)

public Framework.Builder setName(String value)

Required. The framework name.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Framework.Builder setNameBytes(ByteString value)

Required. The framework name.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setParentDomain(Domain value)

public Framework.Builder setParentDomain(Domain value)

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Domain
Returns
Type Description
Framework.Builder

setParentDomain(Domain.Builder builderForValue)

public Framework.Builder setParentDomain(Domain.Builder builderForValue)

Required. The domain to which this framework belongs.

.google.cloud.designcenter.v1.Domain parent_domain = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Domain.Builder
Returns
Type Description
Framework.Builder

setUrl(String value)

public Framework.Builder setUrl(String value)

Optional. The URL to a framework.

string url = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The url to set.

Returns
Type Description
Framework.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public Framework.Builder setUrlBytes(ByteString value)

Optional. The URL to a framework.

string url = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
Framework.Builder

This builder for chaining.