Class PublicBlueprint (0.3.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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLBACK_SUPPORT_FIELD_NUMBER

public static final int ROLLBACK_SUPPORT_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PROVIDER_FIELD_NUMBER

public static final int SOURCE_PROVIDER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublicBlueprint getDefaultInstance()
Returns
TypeDescription
PublicBlueprint

getDescriptor()

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

newBuilder()

public static PublicBlueprint.Builder newBuilder()
Returns
TypeDescription
PublicBlueprint.Builder

newBuilder(PublicBlueprint prototype)

public static PublicBlueprint.Builder newBuilder(PublicBlueprint prototype)
Parameter
NameDescription
prototypePublicBlueprint
Returns
TypeDescription
PublicBlueprint.Builder

parseDelimitedFrom(InputStream input)

public static PublicBlueprint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PublicBlueprint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublicBlueprint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublicBlueprint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PublicBlueprint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PublicBlueprint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublicBlueprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PublicBlueprint> parser()
Returns
TypeDescription
Parser<PublicBlueprint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.v1.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.v1.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.

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.

getParserForType()

public Parser<PublicBlueprint> getParserForType()
Returns
TypeDescription
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
TypeDescription
boolean

The rollbackSupport.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PublicBlueprint.Builder newBuilderForType()
Returns
TypeDescription
PublicBlueprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublicBlueprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PublicBlueprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PublicBlueprint.Builder toBuilder()
Returns
TypeDescription
PublicBlueprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException