Interface ReleaseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Release,Release.Builder
@Generated
public interface ReleaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getInfo()Output only.Output only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional. lifecycle of the `Release`.intOptional. lifecycle of the `Release`.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required. version of the `Release`.com.google.protobuf.ByteStringRequired. version of the `Release`.booleanOutput only.booleanhasInfo()Output 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()Identifier. Name of the Release. Format is `projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of the Release. Format is `projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Time `Release` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time `Release` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time `Release` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time `Release` was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time `Release` was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time `Release` was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLifecycleValue
int getLifecycleValue()Optional. lifecycle of the `Release`.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for lifecycle.
-
getLifecycle
Release.Lifecycle getLifecycle()Optional. lifecycle of the `Release`.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The lifecycle.
-
getVersion
String getVersion()Required. version of the `Release`. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Required. version of the `Release`. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for version.
-
hasPublishTime
boolean hasPublishTime()Output only. Time the `Release` was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the publishTime field is set.
-
getPublishTime
com.google.protobuf.Timestamp getPublishTime()Output only. Time the `Release` was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The publishTime.
-
getPublishTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder()Output only. Time the `Release` was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasInfo
boolean hasInfo()Output only. `ResourceBundle` Release extra information e.g., artifact registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the info field is set.
-
getInfo
ReleaseInfo getInfo()Output only. `ResourceBundle` Release extra information e.g., artifact registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The info.
-
getInfoOrBuilder
ReleaseInfoOrBuilder getInfoOrBuilder()Output only. `ResourceBundle` Release extra information e.g., artifact registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-