Class Domain.Builder (0.3.0)

public static final class Domain.Builder extends GeneratedMessage.Builder<Domain.Builder> implements DomainOrBuilder

Domain for assessment.

Protobuf type google.cloud.designcenter.v1.Domain

Implements

DomainOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllFrameworks(Iterable<? extends Framework> values)

public Domain.Builder addAllFrameworks(Iterable<? extends Framework> values)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addFrameworks(Framework value)

public Domain.Builder addFrameworks(Framework value)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Framework
Returns
Type Description
Domain.Builder

addFrameworks(Framework.Builder builderForValue)

public Domain.Builder addFrameworks(Framework.Builder builderForValue)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addFrameworks(int index, Framework value)

public Domain.Builder addFrameworks(int index, Framework value)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addFrameworks(int index, Framework.Builder builderForValue)

public Domain.Builder addFrameworks(int index, Framework.Builder builderForValue)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addFrameworksBuilder()

public Framework.Builder addFrameworksBuilder()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Framework.Builder

addFrameworksBuilder(int index)

public Framework.Builder addFrameworksBuilder(int index)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.Builder

build()

public Domain build()
Returns
Type Description
Domain

buildPartial()

public Domain buildPartial()
Returns
Type Description
Domain

clear()

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

clearDescription()

public Domain.Builder clearDescription()

Optional. The domain description.

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

Returns
Type Description
Domain.Builder

This builder for chaining.

clearDisplayName()

public Domain.Builder clearDisplayName()

Optional. The domain display name is user friendly name used for UI.

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

Returns
Type Description
Domain.Builder

This builder for chaining.

clearDomainName()

public Domain.Builder clearDomainName()

Required. The domain name. Uniquely identifies the domain.

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

Returns
Type Description
Domain.Builder

This builder for chaining.

clearFrameworks()

public Domain.Builder clearFrameworks()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Domain.Builder

clearInactive()

public Domain.Builder clearInactive()

Optional. Whether the domain is inactive. Default: false.

bool inactive = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Domain.Builder

This builder for chaining.

getDefaultInstanceForType()

public Domain getDefaultInstanceForType()
Returns
Type Description
Domain

getDescription()

public String getDescription()

Optional. The domain description.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The domain description.

string description = 3 [(.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 domain display name is user friendly name used for UI.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The domain display name is user friendly name used for UI.

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

Returns
Type Description
ByteString

The bytes for displayName.

getDomainName()

public String getDomainName()

Required. The domain name. Uniquely identifies the domain.

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

Returns
Type Description
String

The domainName.

getDomainNameBytes()

public ByteString getDomainNameBytes()

Required. The domain name. Uniquely identifies the domain.

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

Returns
Type Description
ByteString

The bytes for domainName.

getFrameworks(int index)

public Framework getFrameworks(int index)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework

getFrameworksBuilder(int index)

public Framework.Builder getFrameworksBuilder(int index)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Framework.Builder

getFrameworksBuilderList()

public List<Framework.Builder> getFrameworksBuilderList()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getFrameworksCount()

public int getFrameworksCount()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFrameworksList()

public List<Framework> getFrameworksList()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Framework>

getFrameworksOrBuilder(int index)

public FrameworkOrBuilder getFrameworksOrBuilder(int index)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FrameworkOrBuilder

getFrameworksOrBuilderList()

public List<? extends FrameworkOrBuilder> getFrameworksOrBuilderList()

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getInactive()

public boolean getInactive()

Optional. Whether the domain is inactive. Default: false.

bool inactive = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The inactive.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Domain other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeFrameworks(int index)

public Domain.Builder removeFrameworks(int index)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Domain.Builder

setDescription(String value)

public Domain.Builder setDescription(String value)

Optional. The domain description.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Domain.Builder setDescriptionBytes(ByteString value)

Optional. The domain description.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setDisplayName(String value)

public Domain.Builder setDisplayName(String value)

Optional. The domain display name is user friendly name used for UI.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Domain.Builder setDisplayNameBytes(ByteString value)

Optional. The domain display name is user friendly name used for UI.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setDomainName(String value)

public Domain.Builder setDomainName(String value)

Required. The domain name. Uniquely identifies the domain.

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

Parameter
Name Description
value String

The domainName to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setDomainNameBytes(ByteString value)

public Domain.Builder setDomainNameBytes(ByteString value)

Required. The domain name. Uniquely identifies the domain.

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

Parameter
Name Description
value ByteString

The bytes for domainName to set.

Returns
Type Description
Domain.Builder

This builder for chaining.

setFrameworks(int index, Framework value)

public Domain.Builder setFrameworks(int index, Framework value)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setFrameworks(int index, Framework.Builder builderForValue)

public Domain.Builder setFrameworks(int index, Framework.Builder builderForValue)

Optional. The frameworks that are applicable in this domain.

repeated .google.cloud.designcenter.v1.Framework frameworks = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setInactive(boolean value)

public Domain.Builder setInactive(boolean value)

Optional. Whether the domain is inactive. Default: false.

bool inactive = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The inactive to set.

Returns
Type Description
Domain.Builder

This builder for chaining.