Class ApplicationTemplateRevision (0.3.0)

public final class ApplicationTemplateRevision extends GeneratedMessage implements ApplicationTemplateRevisionOrBuilder

Application template revision resource.

Protobuf type google.cloud.designcenter.v1.ApplicationTemplateRevision

Static Fields

APPLICATION_PARAMETERS_FIELD_NUMBER

public static final int APPLICATION_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

ARTIFACT_LOCATION_FIELD_NUMBER

public static final int ARTIFACT_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

IAC_SOURCE_FIELD_NUMBER

public static final int IAC_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOT_FIELD_NUMBER

public static final int SNAPSHOT_FIELD_NUMBER
Field Value
Type Description
int

TEMPLATE_METADATA_FIELD_NUMBER

public static final int TEMPLATE_METADATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApplicationTemplateRevision getDefaultInstance()
Returns
Type Description
ApplicationTemplateRevision

getDescriptor()

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

newBuilder()

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

newBuilder(ApplicationTemplateRevision prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApplicationParameters(int index)

public Parameter getApplicationParameters(int index)

Optional. The values provided for the input variables.

repeated .google.cloud.designcenter.v1.Parameter application_parameters = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getApplicationParametersCount()

public int getApplicationParametersCount()

Optional. The values provided for the input variables.

repeated .google.cloud.designcenter.v1.Parameter application_parameters = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getApplicationParametersList()

public List<Parameter> getApplicationParametersList()

Optional. The values provided for the input variables.

repeated .google.cloud.designcenter.v1.Parameter application_parameters = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getApplicationParametersOrBuilder(int index)

public ParameterOrBuilder getApplicationParametersOrBuilder(int index)

Optional. The values provided for the input variables.

repeated .google.cloud.designcenter.v1.Parameter application_parameters = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getApplicationParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getApplicationParametersOrBuilderList()

Optional. The values provided for the input variables.

repeated .google.cloud.designcenter.v1.Parameter application_parameters = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder>

getArtifactLocation()

public ArtifactLocation getArtifactLocation()

Output only. Details of the location where the IaC for this ApplicationTemplate Revision was last successfully exported.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ArtifactLocation

The artifactLocation.

getArtifactLocationOrBuilder()

public ArtifactLocationOrBuilder getArtifactLocationOrBuilder()

Output only. Details of the location where the IaC for this ApplicationTemplate Revision was last successfully exported.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ArtifactLocationOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The application template revision creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The application template revision creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ApplicationTemplateRevision getDefaultInstanceForType()
Returns
Type Description
ApplicationTemplateRevision

getIacSource()

public IACSource getIacSource()

Output only. Indicates the IaC source format of this application template revision.

.google.cloud.designcenter.v1.IACSource iac_source = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IACSource

The iacSource.

getIacSourceValue()

public int getIacSourceValue()

Output only. Indicates the IaC source format of this application template revision.

.google.cloud.designcenter.v1.IACSource iac_source = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for iacSource.

getName()

public String getName()

Identifier. The application template revision name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The application template revision name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnapshot()

public SerializedApplicationTemplate getSnapshot()

Output only. The serialized application template.

.google.cloud.designcenter.v1.SerializedApplicationTemplate snapshot = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SerializedApplicationTemplate

The snapshot.

getSnapshotOrBuilder()

public SerializedApplicationTemplateOrBuilder getSnapshotOrBuilder()

Output only. The serialized application template.

.google.cloud.designcenter.v1.SerializedApplicationTemplate snapshot = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SerializedApplicationTemplateOrBuilder

getTemplateMetadata()

public TFBlueprintMetadata getTemplateMetadata()

Output only. The input output variables parsed from the imported terraform code.

.google.cloud.designcenter.v1.TFBlueprintMetadata template_metadata = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TFBlueprintMetadata

The templateMetadata.

getTemplateMetadataOrBuilder()

public TFBlueprintMetadataOrBuilder getTemplateMetadataOrBuilder()

Output only. The input output variables parsed from the imported terraform code.

.google.cloud.designcenter.v1.TFBlueprintMetadata template_metadata = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TFBlueprintMetadataOrBuilder

hasArtifactLocation()

public boolean hasArtifactLocation()

Output only. Details of the location where the IaC for this ApplicationTemplate Revision was last successfully exported.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the artifactLocation field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The application template revision creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSnapshot()

public boolean hasSnapshot()

Output only. The serialized application template.

.google.cloud.designcenter.v1.SerializedApplicationTemplate snapshot = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the snapshot field is set.

hasTemplateMetadata()

public boolean hasTemplateMetadata()

Output only. The input output variables parsed from the imported terraform code.

.google.cloud.designcenter.v1.TFBlueprintMetadata template_metadata = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the templateMetadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ApplicationTemplateRevision.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ApplicationTemplateRevision.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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