Class PublicBlueprint.Builder (0.9.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.v1alpha1.PublicBlueprint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublicBlueprint build()
Returns
TypeDescription
PublicBlueprint

buildPartial()

public PublicBlueprint buildPartial()
Returns
TypeDescription
PublicBlueprint

clear()

public PublicBlueprint.Builder clear()
Returns
TypeDescription
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.v1alpha1.DeploymentLevel deployment_level = 4;

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

clearDescription()

public PublicBlueprint.Builder clearDescription()

The description of the public blueprint.

string description = 3;

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

clearDisplayName()

public PublicBlueprint.Builder clearDisplayName()

The display name of the public blueprint.

string display_name = 2;

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublicBlueprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PublicBlueprint.Builder
Overrides

clearName()

public PublicBlueprint.Builder clearName()

Name of the public blueprint.

string name = 1;

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public PublicBlueprint.Builder clone()
Returns
TypeDescription
PublicBlueprint.Builder
Overrides

getDefaultInstanceForType()

public PublicBlueprint getDefaultInstanceForType()
Returns
TypeDescription
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.v1alpha1.DeploymentLevel deployment_level = 4;

Returns
TypeDescription
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.v1alpha1.DeploymentLevel deployment_level = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for deploymentLevel.

getDescription()

public String getDescription()

The description of the public blueprint.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the public blueprint.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name of the public blueprint.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the public blueprint.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

Name of the public blueprint.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the public blueprint.

string name = 1;

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

The bytes for sourceProvider.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublicBlueprint other)

public PublicBlueprint.Builder mergeFrom(PublicBlueprint other)
Parameter
NameDescription
otherPublicBlueprint
Returns
TypeDescription
PublicBlueprint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PublicBlueprint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PublicBlueprint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublicBlueprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1alpha1.DeploymentLevel deployment_level = 4;

Parameter
NameDescription
valueDeploymentLevel

The deploymentLevel to set.

Returns
TypeDescription
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.v1alpha1.DeploymentLevel deployment_level = 4;

Parameter
NameDescription
valueint

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

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

The description to set.

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

The bytes for description to set.

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

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PublicBlueprint.Builder setName(String value)

Name of the public blueprint.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PublicBlueprint.Builder setNameBytes(ByteString value)

Name of the public blueprint.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

The rollbackSupport to set.

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

The sourceProvider to set.

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

The bytes for sourceProvider to set.

Returns
TypeDescription
PublicBlueprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublicBlueprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublicBlueprint.Builder
Overrides