Class Blueprint.Builder (0.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1alpha1.File>
Returns
TypeDescription
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
NameDescription
valueFile
Returns
TypeDescription
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
NameDescription
builderForValueFile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
File.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Blueprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Blueprint.Builder
Overrides

build()

public Blueprint build()
Returns
TypeDescription
Blueprint

buildPartial()

public Blueprint buildPartial()
Returns
TypeDescription
Blueprint

clear()

public Blueprint.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Blueprint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Blueprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Blueprint.Builder

clearLabels()

public Blueprint.Builder clearLabels()
Returns
TypeDescription
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
TypeDescription
Blueprint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Blueprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Blueprint.Builder

clone()

public Blueprint.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Blueprint creation time.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Blueprint getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for deploymentLevel.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. Human readable name of a Blueprint.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Human readable name of a Blueprint.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.telcoautomation.v1alpha1.FileOrBuilder>

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Blueprint creation time.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Blueprint.Builder

mergeFrom(Blueprint other)

public Blueprint.Builder mergeFrom(Blueprint other)
Parameter
NameDescription
otherBlueprint
Returns
TypeDescription
Blueprint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Blueprint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Blueprint.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Blueprint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Blueprint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Blueprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueBlueprint.ApprovalState

The approvalState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDeploymentLevel

The deploymentLevel to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Blueprint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Blueprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueFile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The repository to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for repository to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The revisionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for revisionId to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The rollbackSupport to set.

Returns
TypeDescription
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
NameDescription
valueString

The sourceBlueprint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceBlueprint to set.

Returns
TypeDescription
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
NameDescription
valueString

The sourceProvider to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceProvider to set.

Returns
TypeDescription
Blueprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Blueprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Blueprint.Builder