Class PublicBlueprint (0.23.0)

public final class PublicBlueprint extends GeneratedMessageV3 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 Fields

DEPLOYMENT_LEVEL_FIELD_NUMBER

public static final int DEPLOYMENT_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ROLLBACK_SUPPORT_FIELD_NUMBER

public static final int ROLLBACK_SUPPORT_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_PROVIDER_FIELD_NUMBER

public static final int SOURCE_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublicBlueprint getDefaultInstance()
Returns
Type Description
PublicBlueprint

getDescriptor()

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

newBuilder()

public static PublicBlueprint.Builder newBuilder()
Returns
Type Description
PublicBlueprint.Builder

newBuilder(PublicBlueprint prototype)

public static PublicBlueprint.Builder newBuilder(PublicBlueprint prototype)
Parameter
Name Description
prototype PublicBlueprint
Returns
Type Description
PublicBlueprint.Builder

parseDelimitedFrom(InputStream input)

public static PublicBlueprint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PublicBlueprint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublicBlueprint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublicBlueprint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PublicBlueprint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PublicBlueprint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PublicBlueprint> parser()
Returns
Type Description
Parser<PublicBlueprint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

getParserForType()

public Parser<PublicBlueprint> getParserForType()
Returns
Type Description
Parser<PublicBlueprint>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PublicBlueprint.Builder newBuilderForType()
Returns
Type Description
PublicBlueprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublicBlueprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PublicBlueprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PublicBlueprint.Builder toBuilder()
Returns
Type Description
PublicBlueprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException