Class Blueprint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Blueprint.Builder
- All Implemented Interfaces:
BlueprintOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Blueprint
public static final class Blueprint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setEngineBytes(com.google.protobuf.ByteString value) Output only.setPackage(String value) Optional.setPackageBytes(com.google.protobuf.ByteString value) Optional.setVersion(String value) Output only.setVersionBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Blueprint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
-
mergeFrom
public Blueprint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Blueprint.Builder>- Throws:
IOException
-
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];- Specified by:
getPackagein interfaceBlueprintOrBuilder- Returns:
- The package.
-
getPackageBytes
public com.google.protobuf.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];- Specified by:
getPackageBytesin interfaceBlueprintOrBuilder- Returns:
- The bytes for package.
-
setPackage
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];- Parameters:
value- The package to set.- Returns:
- This builder for chaining.
-
clearPackage
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:
- This builder for chaining.
-
setPackageBytes
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];- Parameters:
value- The bytes for package to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getEnginein interfaceBlueprintOrBuilder- Returns:
- The engine.
-
getEngineBytes
public com.google.protobuf.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];- Specified by:
getEngineBytesin interfaceBlueprintOrBuilder- Returns:
- The bytes for engine.
-
setEngine
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];- Parameters:
value- The engine to set.- Returns:
- This builder for chaining.
-
clearEngine
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:
- This builder for chaining.
-
setEngineBytes
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];- Parameters:
value- The bytes for engine to set.- Returns:
- This builder for chaining.
-
getVersion
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceBlueprintOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionBytesin interfaceBlueprintOrBuilder- Returns:
- The bytes for version.
-
setVersion
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setVersionBytes
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-