public static final class Blueprint.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Blueprint.BuilderImplements
BlueprintOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Blueprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
build()
public Blueprint build()
Returns | |
---|---|
Type | Description |
Blueprint |
buildPartial()
public Blueprint buildPartial()
Returns | |
---|---|
Type | Description |
Blueprint |
clear()
public Blueprint.Builder clear()
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
clearEngine()
public Blueprint.Builder 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 | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Blueprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Blueprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
clearPackage()
public Blueprint.Builder 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 | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
clearVersion()
public Blueprint.Builder clearVersion()
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
clone()
public Blueprint.Builder clone()
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
getDefaultInstanceForType()
public Blueprint getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Blueprint |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Blueprint other)
public Blueprint.Builder mergeFrom(Blueprint other)
Parameter | |
---|---|
Name | Description |
other |
Blueprint |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Blueprint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Blueprint.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Blueprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
setEngine(String value)
public Blueprint.Builder setEngine(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The engine to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
setEngineBytes(ByteString value)
public Blueprint.Builder setEngineBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for engine to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Blueprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
setPackage(String value)
public Blueprint.Builder setPackage(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The package to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
setPackageBytes(ByteString value)
public Blueprint.Builder setPackageBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for package to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Blueprint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Blueprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
setVersion(String value)
public Blueprint.Builder setVersion(String value)
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public Blueprint.Builder setVersionBytes(ByteString value)
Output only. Version metadata if present on the blueprint.
string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Blueprint.Builder |
This builder for chaining. |