Class PublicBlueprint.Builder (0.13.0)

public static final class PublicBlueprint.Builder extends GeneratedMessageV3.Builder<PublicBlueprint.Builder> implements PublicBlueprintOrBuilder

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. Public blueprint is a TNA provided blueprint that in present in TNA's public catalog. A user can copy the public blueprint to their private catalog for further modifications.

Protobuf type google.cloud.telcoautomation.v1.PublicBlueprint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublicBlueprint build()
Returns
Type Description
PublicBlueprint

buildPartial()

public PublicBlueprint buildPartial()
Returns
Type Description
PublicBlueprint

clear()

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

clearDeploymentLevel()

public PublicBlueprint.Builder clearDeploymentLevel()

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

.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 4;

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

clearDescription()

public PublicBlueprint.Builder clearDescription()

The description of the public blueprint.

string description = 3;

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

clearDisplayName()

public PublicBlueprint.Builder clearDisplayName()

The display name of the public blueprint.

string display_name = 2;

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PublicBlueprint.Builder clearName()

Name of the public blueprint.

string name = 1;

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRollbackSupport()

public PublicBlueprint.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
PublicBlueprint.Builder

This builder for chaining.

clearSourceProvider()

public PublicBlueprint.Builder clearSourceProvider()

Source provider is the author of a public blueprint. e.g. Google, vendors

string source_provider = 5;

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PublicBlueprint getDefaultInstanceForType()
Returns
Type Description
PublicBlueprint

getDeploymentLevel()

public DeploymentLevel getDeploymentLevel()

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

.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 4;

Returns
Type Description
DeploymentLevel

The deploymentLevel.

getDeploymentLevelValue()

public int getDeploymentLevelValue()

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

.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 4;

Returns
Type Description
int

The enum numeric value on the wire for deploymentLevel.

getDescription()

public String getDescription()

The description of the public blueprint.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the public blueprint.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The display name of the public blueprint.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the public blueprint.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Name of the public blueprint.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the public blueprint.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

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.

getSourceProvider()

public String getSourceProvider()

Source provider is the author of a public blueprint. e.g. Google, vendors

string source_provider = 5;

Returns
Type Description
String

The sourceProvider.

getSourceProviderBytes()

public ByteString getSourceProviderBytes()

Source provider is the author of a public blueprint. e.g. Google, vendors

string source_provider = 5;

Returns
Type Description
ByteString

The bytes for sourceProvider.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublicBlueprint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeploymentLevel(DeploymentLevel value)

public PublicBlueprint.Builder setDeploymentLevel(DeploymentLevel value)

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

.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 4;

Parameter
Name Description
value DeploymentLevel

The deploymentLevel to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setDeploymentLevelValue(int value)

public PublicBlueprint.Builder setDeploymentLevelValue(int value)

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

.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 4;

Parameter
Name Description
value int

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

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setDescription(String value)

public PublicBlueprint.Builder setDescription(String value)

The description of the public blueprint.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PublicBlueprint.Builder setDescriptionBytes(ByteString value)

The description of the public blueprint.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setDisplayName(String value)

public PublicBlueprint.Builder setDisplayName(String value)

The display name of the public blueprint.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PublicBlueprint.Builder setDisplayNameBytes(ByteString value)

The display name of the public blueprint.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PublicBlueprint.Builder setName(String value)

Name of the public blueprint.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PublicBlueprint.Builder setNameBytes(ByteString value)

Name of the public blueprint.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

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

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

setRollbackSupport(boolean value)

public PublicBlueprint.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
PublicBlueprint.Builder

This builder for chaining.

setSourceProvider(String value)

public PublicBlueprint.Builder setSourceProvider(String value)

Source provider is the author of a public blueprint. e.g. Google, vendors

string source_provider = 5;

Parameter
Name Description
value String

The sourceProvider to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setSourceProviderBytes(ByteString value)

public PublicBlueprint.Builder setSourceProviderBytes(ByteString value)

Source provider is the author of a public blueprint. e.g. Google, vendors

string source_provider = 5;

Parameter
Name Description
value ByteString

The bytes for sourceProvider to set.

Returns
Type Description
PublicBlueprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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