Interface ParameterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Parameter,Parameter.Builder
@Generated
public interface ParameterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.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. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create time stamp
.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. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update time stamp
.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. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
.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]; -
getFormatValue
int getFormatValue()Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for format.
-
getFormat
ParameterFormat getFormat()Optional. Specifies the format of a Parameter.
.google.cloud.parametermanager.v1.ParameterFormat format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The format.
-
hasPolicyMember
boolean hasPolicyMember()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the policyMember field is set.
-
getPolicyMember
ResourcePolicyMember getPolicyMember()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The policyMember.
-
getPolicyMemberOrBuilder
ResourcePolicyMemberOrBuilder getPolicyMemberOrBuilder()Output only. [Output-only] policy member strings of a Google Cloud resource.
.google.iam.v1.ResourcePolicyMember policy_member = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasKmsKey
boolean hasKmsKey()Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- Whether the kmsKey field is set.
-
getKmsKey
String getKmsKey()Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
optional string kms_key = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for kmsKey.
-