public final class SharedTemplateRevision extends GeneratedMessage implements SharedTemplateRevisionOrBuilderA read-only template revision that is shared with a space.
Protobuf type google.cloud.designcenter.v1.SharedTemplateRevision
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SharedTemplateRevisionImplements
SharedTemplateRevisionOrBuilderStatic Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPLICATION_PARAMETERS_FIELD_NUMBER
public static final int APPLICATION_PARAMETERS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPLICATION_TEMPLATE_REVISION_FIELD_NUMBER
public static final int APPLICATION_TEMPLATE_REVISION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPLICATION_TEMPLATE_REVISION_SOURCE_FIELD_NUMBER
public static final int APPLICATION_TEMPLATE_REVISION_SOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DEVELOPER_CONNECT_SOURCE_CONFIG_FIELD_NUMBER
public static final int DEVELOPER_CONNECT_SOURCE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GCS_SOURCE_URI_FIELD_NUMBER
public static final int GCS_SOURCE_URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GIT_SOURCE_FIELD_NUMBER
public static final int GIT_SOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HELM_CHART_METADATA_FIELD_NUMBER
public static final int HELM_CHART_METADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IAC_SOURCE_FIELD_NUMBER
public static final int IAC_SOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INFERRED_METADATA_FIELD_NUMBER
public static final int INFERRED_METADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOGICAL_PRODUCTS_FIELD_NUMBER
public static final int LOGICAL_PRODUCTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
OCI_REPO_FIELD_NUMBER
public static final int OCI_REPO_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ORIGIN_TEMPLATE_REVISION_FIELD_NUMBER
public static final int ORIGIN_TEMPLATE_REVISION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_TYPES_FIELD_NUMBER
public static final int RESOURCE_TYPES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SHARED_TEMPLATE_METADATA_FIELD_NUMBER
public static final int SHARED_TEMPLATE_METADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TEMPLATE_CATEGORY_FIELD_NUMBER
public static final int TEMPLATE_CATEGORY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SharedTemplateRevision getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SharedTemplateRevision.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.Builder |
|
newBuilder(SharedTemplateRevision prototype)
public static SharedTemplateRevision.Builder newBuilder(SharedTemplateRevision prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SharedTemplateRevision |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.Builder |
|
parseDelimitedFrom(InputStream input)
public static SharedTemplateRevision parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SharedTemplateRevision parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SharedTemplateRevision parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SharedTemplateRevision parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SharedTemplateRevision parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SharedTemplateRevision parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SharedTemplateRevision parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SharedTemplateRevision> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SharedTemplateRevision> |
|
Methods
containsAnnotations(String key)
public boolean containsAnnotations(String key)Optional. The annotations of the shared template revision. Key is the annotation name. Value is the annotation value.
map<string, string> annotations = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()Use #getAnnotationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationsCount()
public int getAnnotationsCount()Optional. The annotations of the shared template revision. Key is the annotation name. Value is the annotation value.
map<string, string> annotations = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()Optional. The annotations of the shared template revision. Key is the annotation name. Value is the annotation value.
map<string, string> annotations = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)Optional. The annotations of the shared template revision. Key is the annotation name. Value is the annotation value.
map<string, string> annotations = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)Optional. The annotations of the shared template revision. Key is the annotation name. Value is the annotation value.
map<string, string> annotations = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getApplicationParameters(int index)
public Parameter getApplicationParameters(int index)Optional. The values provided for the input variables.
repeated .google.cloud.designcenter.v1.Parameter application_parameters = 25 [(.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 = 25 [(.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 = 25 [(.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 = 25 [(.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 = 25 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder> |
|
getApplicationTemplateRevision()
public SerializedApplicationTemplate getApplicationTemplateRevision()Output only. The serialized application template revision.
.google.cloud.designcenter.v1.SerializedApplicationTemplate application_template_revision = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SerializedApplicationTemplate |
The applicationTemplateRevision. |
getApplicationTemplateRevisionOrBuilder()
public SerializedApplicationTemplateOrBuilder getApplicationTemplateRevisionOrBuilder()Output only. The serialized application template revision.
.google.cloud.designcenter.v1.SerializedApplicationTemplate application_template_revision = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SerializedApplicationTemplateOrBuilder |
|
getApplicationTemplateRevisionSource()
public String getApplicationTemplateRevisionSource()Optional. The application template revision source.
string application_template_revision_source = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The applicationTemplateRevisionSource. |
getApplicationTemplateRevisionSourceBytes()
public ByteString getApplicationTemplateRevisionSourceBytes()Optional. The application template revision source.
string application_template_revision_source = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for applicationTemplateRevisionSource. |
getArtifactLocationCase()
public SharedTemplateRevision.ArtifactLocationCase getArtifactLocationCase()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.ArtifactLocationCase |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The shared template revision creation timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The shared template revision creation timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public SharedTemplateRevision getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
|
getDescription()
public String getDescription()Optional. The shared template revision description.
string description = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. The shared template revision description.
string description = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDeveloperConnectSourceConfig()
public DeveloperConnectSourceConfig getDeveloperConnectSourceConfig()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSourceConfig |
The developerConnectSourceConfig. |
getDeveloperConnectSourceConfigOrBuilder()
public DeveloperConnectSourceConfigOrBuilder getDeveloperConnectSourceConfigOrBuilder()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSourceConfigOrBuilder |
|
getGcsSourceUri() (deprecated)
public String getGcsSourceUri()Deprecated. google.cloud.designcenter.v1.SharedTemplateRevision.gcs_source_uri is deprecated. See google/cloud/designcenter/v1/sharing.proto;l=140
Optional. Deprecated: Added new field tf_module_gcs_uri. The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].
string gcs_source_uri = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The gcsSourceUri. |
getGcsSourceUriBytes() (deprecated)
public ByteString getGcsSourceUriBytes()Deprecated. google.cloud.designcenter.v1.SharedTemplateRevision.gcs_source_uri is deprecated. See google/cloud/designcenter/v1/sharing.proto;l=140
Optional. Deprecated: Added new field tf_module_gcs_uri. The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].
string gcs_source_uri = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsSourceUri. |
getGitSource()
public GitSource getGitSource()Optional. The git source.
.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitSource |
The gitSource. |
getGitSourceOrBuilder()
public GitSourceOrBuilder getGitSourceOrBuilder()Optional. The git source.
.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitSourceOrBuilder |
|
getHelmChartMetadata()
public HelmChartMetadata getHelmChartMetadata()Output only. The helm chart metadata.
.google.cloud.designcenter.v1.HelmChartMetadata helm_chart_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HelmChartMetadata |
The helmChartMetadata. |
getHelmChartMetadataOrBuilder()
public HelmChartMetadataOrBuilder getHelmChartMetadataOrBuilder()Output only. The helm chart metadata.
.google.cloud.designcenter.v1.HelmChartMetadata helm_chart_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HelmChartMetadataOrBuilder |
|
getIacSource()
public IACSource getIacSource()Output only. Indicates the IaC source format of this shared template revision.
.google.cloud.designcenter.v1.IACSource iac_source = 24 [(.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 shared template revision.
.google.cloud.designcenter.v1.IACSource iac_source = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for iacSource. |
getInferredMetadata()
public InferredMetadata getInferredMetadata()Output only. Metadata that was automatically inferred from the template content.
.google.cloud.designcenter.v1.InferredMetadata inferred_metadata = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InferredMetadata |
The inferredMetadata. |
getInferredMetadataOrBuilder()
public InferredMetadataOrBuilder getInferredMetadataOrBuilder()Output only. Metadata that was automatically inferred from the template content.
.google.cloud.designcenter.v1.InferredMetadata inferred_metadata = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InferredMetadataOrBuilder |
|
getLogicalProducts(int index)
public LogicalProduct getLogicalProducts(int index)Output only. The Product Main logical product type information.
repeated .google.cloud.designcenter.v1.LogicalProduct logical_products = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct |
|
getLogicalProductsCount()
public int getLogicalProductsCount()Output only. The Product Main logical product type information.
repeated .google.cloud.designcenter.v1.LogicalProduct logical_products = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLogicalProductsList()
public List<LogicalProduct> getLogicalProductsList()Output only. The Product Main logical product type information.
repeated .google.cloud.designcenter.v1.LogicalProduct logical_products = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<LogicalProduct> |
|
getLogicalProductsOrBuilder(int index)
public LogicalProductOrBuilder getLogicalProductsOrBuilder(int index)Output only. The Product Main logical product type information.
repeated .google.cloud.designcenter.v1.LogicalProduct logical_products = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProductOrBuilder |
|
getLogicalProductsOrBuilderList()
public List<? extends LogicalProductOrBuilder> getLogicalProductsOrBuilderList()Output only. The Product Main logical product type information.
repeated .google.cloud.designcenter.v1.LogicalProduct logical_products = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.LogicalProductOrBuilder> |
|
getName()
public String getName() Identifier. The shared template revision name.
$sharedTemplate is a server-generated UUID.
projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The shared template revision name.
$sharedTemplate is a server-generated UUID.
projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate/revisions/$revision
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOciRepo()
public OciRepo getOciRepo()Optional. The Open Container Initiative (OCI) repo source that contains helm charts.
.google.cloud.designcenter.v1.OciRepo oci_repo = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OciRepo |
The ociRepo. |
getOciRepoOrBuilder()
public OciRepoOrBuilder getOciRepoOrBuilder()Optional. The Open Container Initiative (OCI) repo source that contains helm charts.
.google.cloud.designcenter.v1.OciRepo oci_repo = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OciRepoOrBuilder |
|
getOriginTemplateRevision()
public String getOriginTemplateRevision()Output only. The shared template revision refers to the following catalog template revision.
string origin_template_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The originTemplateRevision. |
getOriginTemplateRevisionBytes()
public ByteString getOriginTemplateRevisionBytes()Output only. The shared template revision refers to the following catalog template revision.
string origin_template_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for originTemplateRevision. |
getParserForType()
public Parser<SharedTemplateRevision> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SharedTemplateRevision> |
|
getResourceTypes(int index)
public ResourceType getResourceTypes(int index)Output only. The resource types present in the template revision.
repeated .google.cloud.designcenter.v1.ResourceType resource_types = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceType |
|
getResourceTypesCount()
public int getResourceTypesCount()Output only. The resource types present in the template revision.
repeated .google.cloud.designcenter.v1.ResourceType resource_types = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceTypesList()
public List<ResourceType> getResourceTypesList()Output only. The resource types present in the template revision.
repeated .google.cloud.designcenter.v1.ResourceType resource_types = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ResourceType> |
|
getResourceTypesOrBuilder(int index)
public ResourceTypeOrBuilder getResourceTypesOrBuilder(int index)Output only. The resource types present in the template revision.
repeated .google.cloud.designcenter.v1.ResourceType resource_types = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceTypeOrBuilder |
|
getResourceTypesOrBuilderList()
public List<? extends ResourceTypeOrBuilder> getResourceTypesOrBuilderList()Output only. The resource types present in the template revision.
repeated .google.cloud.designcenter.v1.ResourceType resource_types = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ResourceTypeOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSharedTemplateMetadata()
public TFBlueprintMetadata getSharedTemplateMetadata()Output only. The shared template metadata.
.google.cloud.designcenter.v1.TFBlueprintMetadata shared_template_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TFBlueprintMetadata |
The sharedTemplateMetadata. |
getSharedTemplateMetadataOrBuilder()
public TFBlueprintMetadataOrBuilder getSharedTemplateMetadataOrBuilder()Output only. The shared template metadata.
.google.cloud.designcenter.v1.TFBlueprintMetadata shared_template_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TFBlueprintMetadataOrBuilder |
|
getTemplateCategory()
public TemplateCategory getTemplateCategory()Output only. The category of the template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TemplateCategory |
The templateCategory. |
getTemplateCategoryValue()
public int getTemplateCategoryValue()Output only. The category of the template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for templateCategory. |
getType()
public TemplateType getType()Optional. The Application Design Center assembly template type.
.google.cloud.designcenter.v1.TemplateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TemplateType |
The type. |
getTypeValue()
public int getTypeValue()Optional. The Application Design Center assembly template type.
.google.cloud.designcenter.v1.TemplateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasApplicationTemplateRevision()
public boolean hasApplicationTemplateRevision()Output only. The serialized application template revision.
.google.cloud.designcenter.v1.SerializedApplicationTemplate application_template_revision = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the applicationTemplateRevision field is set. |
hasApplicationTemplateRevisionSource()
public boolean hasApplicationTemplateRevisionSource()Optional. The application template revision source.
string application_template_revision_source = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the applicationTemplateRevisionSource field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. The shared template revision creation timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDeveloperConnectSourceConfig()
public boolean hasDeveloperConnectSourceConfig()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the developerConnectSourceConfig field is set. |
hasGcsSourceUri() (deprecated)
public boolean hasGcsSourceUri()Deprecated. google.cloud.designcenter.v1.SharedTemplateRevision.gcs_source_uri is deprecated. See google/cloud/designcenter/v1/sharing.proto;l=140
Optional. Deprecated: Added new field tf_module_gcs_uri. The Cloud Storage URI, which must be in the format gs://[bucket] or gs://[bucket]/[object].
string gcs_source_uri = 20 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsSourceUri field is set. |
hasGitSource()
public boolean hasGitSource()Optional. The git source.
.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gitSource field is set. |
hasHelmChartMetadata()
public boolean hasHelmChartMetadata()Output only. The helm chart metadata.
.google.cloud.designcenter.v1.HelmChartMetadata helm_chart_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the helmChartMetadata field is set. |
hasInferredMetadata()
public boolean hasInferredMetadata()Output only. Metadata that was automatically inferred from the template content.
.google.cloud.designcenter.v1.InferredMetadata inferred_metadata = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inferredMetadata field is set. |
hasOciRepo()
public boolean hasOciRepo()Optional. The Open Container Initiative (OCI) repo source that contains helm charts.
.google.cloud.designcenter.v1.OciRepo oci_repo = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ociRepo field is set. |
hasSharedTemplateMetadata()
public boolean hasSharedTemplateMetadata()Output only. The shared template metadata.
.google.cloud.designcenter.v1.TFBlueprintMetadata shared_template_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sharedTemplateMetadata field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SharedTemplateRevision.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SharedTemplateRevision.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.Builder |
|
toBuilder()
public SharedTemplateRevision.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|