Class Blueprint.Builder (0.18.0)

public static final class Blueprint.Builder extends GeneratedMessageV3.Builder<Blueprint.Builder> implements BlueprintOrBuilder

A Blueprint contains a collection of kubernetes resources in the form of YAML files. The file contents of a blueprint are collectively known as package. A blueprint can be a) imported from TNA's public catalog b) modified as per a user's need c) proposed and approved. On approval, a revision of blueprint is created which can be used to create a deployment on Orchestration or Workload Cluster.

Protobuf type google.cloud.telcoautomation.v1alpha1.Blueprint

Implements

BlueprintOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllFiles(Iterable<? extends File> values)

public Blueprint.Builder addAllFiles(Iterable<? extends File> values)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.telcoautomation.v1alpha1.File>
Returns
Type Description
Blueprint.Builder

addFiles(File value)

public Blueprint.Builder addFiles(File value)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value File
Returns
Type Description
Blueprint.Builder

addFiles(File.Builder builderForValue)

public Blueprint.Builder addFiles(File.Builder builderForValue)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue File.Builder
Returns
Type Description
Blueprint.Builder

addFiles(int index, File value)

public Blueprint.Builder addFiles(int index, File value)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value File
Returns
Type Description
Blueprint.Builder

addFiles(int index, File.Builder builderForValue)

public Blueprint.Builder addFiles(int index, File.Builder builderForValue)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
Blueprint.Builder

addFilesBuilder()

public File.Builder addFilesBuilder()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
File.Builder

addFilesBuilder(int index)

public File.Builder addFilesBuilder(int index)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
File.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Blueprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Blueprint.Builder
Overrides

build()

public Blueprint build()
Returns
Type Description
Blueprint

buildPartial()

public Blueprint buildPartial()
Returns
Type Description
Blueprint

clear()

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

clearApprovalState()

public Blueprint.Builder clearApprovalState()

Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

.google.cloud.telcoautomation.v1alpha1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearCreateTime()

public Blueprint.Builder clearCreateTime()

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

clearDeploymentLevel()

public Blueprint.Builder clearDeploymentLevel()

Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]

.google.cloud.telcoautomation.v1alpha1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearDisplayName()

public Blueprint.Builder clearDisplayName()

Optional. Human readable name of a Blueprint.

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

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Blueprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Blueprint.Builder
Overrides

clearFiles()

public Blueprint.Builder clearFiles()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Blueprint.Builder

clearLabels()

public Blueprint.Builder clearLabels()
Returns
Type Description
Blueprint.Builder

clearName()

public Blueprint.Builder clearName()

The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.

string name = 1;

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Blueprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Blueprint.Builder
Overrides

clearRepository()

public Blueprint.Builder clearRepository()

Output only. Name of the repository where the blueprint files are stored.

string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearRevisionCreateTime()

public Blueprint.Builder clearRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

clearRevisionId()

public Blueprint.Builder clearRevisionId()

Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearRollbackSupport()

public Blueprint.Builder clearRollbackSupport()

Output only. Indicates if the deployment created from this blueprint can be rolled back.

bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearSourceBlueprint()

public Blueprint.Builder clearSourceBlueprint()

Required. Immutable. The public blueprint ID from which this blueprint was created.

string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearSourceProvider()

public Blueprint.Builder clearSourceProvider()

Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

string source_provider = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

This builder for chaining.

clearUpdateTime()

public Blueprint.Builder clearUpdateTime()

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.Builder

clone()

public Blueprint.Builder clone()
Returns
Type Description
Blueprint.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getApprovalState()

public Blueprint.ApprovalState getApprovalState()

Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

.google.cloud.telcoautomation.v1alpha1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Blueprint.ApprovalState

The approvalState.

getApprovalStateValue()

public int getApprovalStateValue()

Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

.google.cloud.telcoautomation.v1alpha1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for approvalState.

getCreateTime()

public Timestamp getCreateTime()

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Blueprint getDefaultInstanceForType()
Returns
Type Description
Blueprint

getDeploymentLevel()

public DeploymentLevel getDeploymentLevel()

Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]

.google.cloud.telcoautomation.v1alpha1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentLevel

The deploymentLevel.

getDeploymentLevelValue()

public int getDeploymentLevelValue()

Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]

.google.cloud.telcoautomation.v1alpha1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for deploymentLevel.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. Human readable name of a Blueprint.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Human readable name of a Blueprint.

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

Returns
Type Description
ByteString

The bytes for displayName.

getFiles(int index)

public File getFiles(int index)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
File

getFilesBuilder(int index)

public File.Builder getFilesBuilder(int index)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
File.Builder

getFilesBuilderList()

public List<File.Builder> getFilesBuilderList()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getFilesCount()

public int getFilesCount()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFilesList()

public List<File> getFilesList()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<File>

getFilesOrBuilder(int index)

public FileOrBuilder getFilesOrBuilder(int index)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FileOrBuilder

getFilesOrBuilderList()

public List<? extends FileOrBuilder> getFilesOrBuilderList()

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.telcoautomation.v1alpha1.FileOrBuilder>

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRepository()

public String getRepository()

Output only. Name of the repository where the blueprint files are stored.

string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The repository.

getRepositoryBytes()

public ByteString getRepositoryBytes()

Output only. Name of the repository where the blueprint files are stored.

string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for repository.

getRevisionCreateTime()

public Timestamp getRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The revisionCreateTime.

getRevisionCreateTimeBuilder()

public Timestamp.Builder getRevisionCreateTimeBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getRevisionCreateTimeOrBuilder()

public TimestampOrBuilder getRevisionCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getRevisionId()

public String getRevisionId()

Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public ByteString getRevisionIdBytes()

Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revisionId.

getRollbackSupport()

public boolean getRollbackSupport()

Output only. Indicates if the deployment created from this blueprint can be rolled back.

bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The rollbackSupport.

getSourceBlueprint()

public String getSourceBlueprint()

Required. Immutable. The public blueprint ID from which this blueprint was created.

string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The sourceBlueprint.

getSourceBlueprintBytes()

public ByteString getSourceBlueprintBytes()

Required. Immutable. The public blueprint ID from which this blueprint was created.

string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for sourceBlueprint.

getSourceProvider()

public String getSourceProvider()

Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

string source_provider = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sourceProvider.

getSourceProviderBytes()

public ByteString getSourceProviderBytes()

Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

string source_provider = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sourceProvider.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasRevisionCreateTime()

public boolean hasRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the revisionCreateTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Blueprint.Builder mergeCreateTime(Timestamp value)

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

mergeFrom(Blueprint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRevisionCreateTime(Timestamp value)

public Blueprint.Builder mergeRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Blueprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Blueprint.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Blueprint.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

putAllLabels(Map<String,String> values)

public Blueprint.Builder putAllLabels(Map<String,String> values)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Blueprint.Builder

putLabels(String key, String value)

public Blueprint.Builder putLabels(String key, String value)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
Blueprint.Builder

removeFiles(int index)

public Blueprint.Builder removeFiles(int index)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Blueprint.Builder

removeLabels(String key)

public Blueprint.Builder removeLabels(String key)

Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Blueprint.Builder

setApprovalState(Blueprint.ApprovalState value)

public Blueprint.Builder setApprovalState(Blueprint.ApprovalState value)

Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

.google.cloud.telcoautomation.v1alpha1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Blueprint.ApprovalState

The approvalState to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setApprovalStateValue(int value)

public Blueprint.Builder setApprovalStateValue(int value)

Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

.google.cloud.telcoautomation.v1alpha1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Blueprint.Builder setCreateTime(Timestamp value)

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Blueprint.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Blueprint creation time.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Blueprint.Builder

setDeploymentLevel(DeploymentLevel value)

public Blueprint.Builder setDeploymentLevel(DeploymentLevel value)

Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]

.google.cloud.telcoautomation.v1alpha1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeploymentLevel

The deploymentLevel to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setDeploymentLevelValue(int value)

public Blueprint.Builder setDeploymentLevelValue(int value)

Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]

.google.cloud.telcoautomation.v1alpha1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setDisplayName(String value)

public Blueprint.Builder setDisplayName(String value)

Optional. Human readable name of a Blueprint.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Blueprint.Builder setDisplayNameBytes(ByteString value)

Optional. Human readable name of a Blueprint.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Blueprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Blueprint.Builder
Overrides

setFiles(int index, File value)

public Blueprint.Builder setFiles(int index, File value)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value File
Returns
Type Description
Blueprint.Builder

setFiles(int index, File.Builder builderForValue)

public Blueprint.Builder setFiles(int index, File.Builder builderForValue)

Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.

repeated .google.cloud.telcoautomation.v1alpha1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
Blueprint.Builder

setName(String value)

public Blueprint.Builder setName(String value)

The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Blueprint.Builder setNameBytes(ByteString value)

The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Blueprint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Blueprint.Builder
Overrides

setRepository(String value)

public Blueprint.Builder setRepository(String value)

Output only. Name of the repository where the blueprint files are stored.

string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The repository to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setRepositoryBytes(ByteString value)

public Blueprint.Builder setRepositoryBytes(ByteString value)

Output only. Name of the repository where the blueprint files are stored.

string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for repository to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setRevisionCreateTime(Timestamp value)

public Blueprint.Builder setRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

setRevisionCreateTime(Timestamp.Builder builderForValue)

public Blueprint.Builder setRevisionCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Blueprint.Builder

setRevisionId(String value)

public Blueprint.Builder setRevisionId(String value)

Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The revisionId to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setRevisionIdBytes(ByteString value)

public Blueprint.Builder setRevisionIdBytes(ByteString value)

Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for revisionId to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setRollbackSupport(boolean value)

public Blueprint.Builder setRollbackSupport(boolean value)

Output only. Indicates if the deployment created from this blueprint can be rolled back.

bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The rollbackSupport to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setSourceBlueprint(String value)

public Blueprint.Builder setSourceBlueprint(String value)

Required. Immutable. The public blueprint ID from which this blueprint was created.

string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The sourceBlueprint to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setSourceBlueprintBytes(ByteString value)

public Blueprint.Builder setSourceBlueprintBytes(ByteString value)

Required. Immutable. The public blueprint ID from which this blueprint was created.

string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for sourceBlueprint to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setSourceProvider(String value)

public Blueprint.Builder setSourceProvider(String value)

Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

string source_provider = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The sourceProvider to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setSourceProviderBytes(ByteString value)

public Blueprint.Builder setSourceProviderBytes(ByteString value)

Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

string source_provider = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for sourceProvider to set.

Returns
Type Description
Blueprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Blueprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Blueprint.Builder
Overrides

setUpdateTime(Timestamp value)

public Blueprint.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Blueprint.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Blueprint.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the blueprint was updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Blueprint.Builder