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 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

      boolean containsLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       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.