Class Blueprint (0.2.0)

public final class Blueprint extends GeneratedMessageV3 implements BlueprintOrBuilder

Blueprints are OCI Images that contain all of the artifacts needed to provision a unit. Metadata such as, type of the engine used to actuate the blueprint (e.g. terraform, helm etc) and version will come from the image manifest. If the hostname is omitted, it will be assumed to be the regional path to Artifact Registry (eg. us-east1-docker.pkg.dev).

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Blueprint

Implements

BlueprintOrBuilder

Static Fields

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
Type Description
int

PACKAGE_FIELD_NUMBER

public static final int PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Blueprint getDefaultInstance()
Returns
Type Description
Blueprint

getDescriptor()

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

newBuilder()

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

newBuilder(Blueprint prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Blueprint getDefaultInstanceForType()
Returns
Type Description
Blueprint

getEngine()

public String getEngine()

Output only. Type of the engine used to actuate the blueprint. e.g. terraform, helm etc.

string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The engine.

getEngineBytes()

public ByteString getEngineBytes()

Output only. Type of the engine used to actuate the blueprint. e.g. terraform, helm etc.

string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for engine.

getPackage()

public String getPackage()

Optional. Immutable. URI to a blueprint used by the Unit (required unless unitKind or release is set).

string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The package.

getPackageBytes()

public ByteString getPackageBytes()

Optional. Immutable. URI to a blueprint used by the Unit (required unless unitKind or release is set).

string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for package.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

Output only. Version metadata if present on the blueprint.

string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Output only. Version metadata if present on the blueprint.

string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for version.

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 Blueprint.Builder newBuilderForType()
Returns
Type Description
Blueprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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