Interface DeploymentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Deployment,Deployment.Builder
@Generated
public interface DeploymentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.getFiles(int index) Optional.intOptional.Optional.getFilesOrBuilder(int index) Optional.List<? extends FileOrBuilder>Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()The name of the deployment.com.google.protobuf.ByteStringThe name of the deployment.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the deployment.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the deployment.
string name = 1;- Returns:
- The bytes for name.
-
getRevisionId
String getRevisionId()Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for revisionId.
-
getSourceBlueprintRevision
String getSourceBlueprintRevision()Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sourceBlueprintRevision.
-
getSourceBlueprintRevisionBytes
com.google.protobuf.ByteString getSourceBlueprintRevisionBytes()Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for sourceBlueprintRevision.
-
hasRevisionCreateTime
boolean hasRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
com.google.protobuf.Timestamp getRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The revisionCreateTime.
-
getRevisionCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateValue
int getStateValue()Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Deployment.State getState()Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getDisplayName
String getDisplayName()Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getRepository
String getRepository()Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for repository.
-
getFilesList
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesCount
int getFilesCount()Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesOrBuilderList
List<? extends FileOrBuilder> getFilesOrBuilderList()Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesOrBuilder
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsCount
int getLabelsCount()Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
boolean hasCreateTime()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSourceProvider
String getSourceProvider()Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The sourceProvider.
-
getSourceProviderBytes
com.google.protobuf.ByteString getSourceProviderBytes()Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for sourceProvider.
-
getWorkloadCluster
String getWorkloadCluster()Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The workloadCluster.
-
getWorkloadClusterBytes
com.google.protobuf.ByteString getWorkloadClusterBytes()Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for workloadCluster.
-
getDeploymentLevelValue
int getDeploymentLevelValue()Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for deploymentLevel.
-
getDeploymentLevel
DeploymentLevel getDeploymentLevel()Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The deploymentLevel.
-
getRollbackSupport
boolean getRollbackSupport()Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The rollbackSupport.
-