Send feedback
  
   
 
  
    
      Class ParameterVersion (0.18.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version 0.18.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ParameterVersion   extends   GeneratedMessageV3   implements   ParameterVersionOrBuilder  
   Message describing ParameterVersion resource
 Protobuf type google.cloud.parametermanager.v1.ParameterVersion
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CREATE_TIME_FIELD_NUMBER 
  
    
public   static   final   int   CREATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DISABLED_FIELD_NUMBER 
  
    
public   static   final   int   DISABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  KMS_KEY_VERSION_FIELD_NUMBER 
  
    
public   static   final   int   KMS_KEY_VERSION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PAYLOAD_FIELD_NUMBER 
  
    
public   static   final   int   PAYLOAD_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  UPDATE_TIME_FIELD_NUMBER 
  
    
public   static   final   int   UPDATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ParameterVersion   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ParameterVersion . Builder   newBuilder ()  
  
  newBuilder(ParameterVersion prototype) 
  
    
public   static   ParameterVersion . Builder   newBuilder ( ParameterVersion   prototype )  
  
  
  
    
public   static   ParameterVersion   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ParameterVersion   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ParameterVersion   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ParameterVersion   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ParameterVersion   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ParameterVersion   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ParameterVersion   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ParameterVersion   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ParameterVersion   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ParameterVersion   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ParameterVersion   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ParameterVersion   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ParameterVersion>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCreateTime() 
  
    
public   Timestamp   getCreateTime ()  
   Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        Timestamp The createTime.
 
     
  
  getCreateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getCreateTimeOrBuilder ()  
   Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getDefaultInstanceForType() 
  
    
public   ParameterVersion   getDefaultInstanceForType ()  
  
  getDisabled() 
  
    
public   boolean   getDisabled ()  
   Optional. Disabled boolean to determine if a ParameterVersion acts as a
 metadata only resource (payload is never returned if disabled is true). If
 true any calls will always default to BASIC view even if the user
 explicitly passes FULL view as part of the request. A render call on a
 disabled resource fails with an error. Default value is False.
 bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The disabled.
 
     
  
  getKmsKeyVersion() 
  
    
public   String   getKmsKeyVersion ()  
   Optional. Output only. [Output only] The resource name of the KMS key
 version used to encrypt the ParameterVersion payload. This field is
 populated only if the Parameter resource has customer managed encryption
 key (CMEK) configured.
 
 optional string kms_key_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        String The kmsKeyVersion.
 
     
  
  getKmsKeyVersionBytes() 
  
    
public   ByteString   getKmsKeyVersionBytes ()  
   Optional. Output only. [Output only] The resource name of the KMS key
 version used to encrypt the ParameterVersion payload. This field is
 populated only if the Parameter resource has customer managed encryption
 key (CMEK) configured.
 
 optional string kms_key_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for kmsKeyVersion.
 
     
  
  getName() 
  
   Identifier. [Output only] The resource name of the ParameterVersion in the
 format projects/*/locations/*/parameters/*/versions/*.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   Identifier. [Output only] The resource name of the ParameterVersion in the
 format projects/*/locations/*/parameters/*/versions/*.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  getParserForType() 
  
    
public   Parser<ParameterVersion>   getParserForType ()  
  
  Overrides 
  
  getPayload() 
  
    
public   ParameterVersionPayload   getPayload ()  
   Required. Immutable. Payload content of a ParameterVersion resource.  This
 is only returned when the request provides the View value of FULL (default
 for GET request).
 
 .google.cloud.parametermanager.v1.ParameterVersionPayload payload = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
getPayloadOrBuilder() 
  
    
public   ParameterVersionPayloadOrBuilder   getPayloadOrBuilder ()  
   Required. Immutable. Payload content of a ParameterVersion resource.  This
 is only returned when the request provides the View value of FULL (default
 for GET request).
 
 .google.cloud.parametermanager.v1.ParameterVersionPayload payload = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getUpdateTime() 
  
    
public   Timestamp   getUpdateTime ()  
   Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        Timestamp The updateTime.
 
     
  
  getUpdateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getUpdateTimeOrBuilder ()  
   Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
hasCreateTime() 
  
    
public   boolean   hasCreateTime ()  
   Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the createTime field is set.
 
     
  
  hasKmsKeyVersion() 
  
    
public   boolean   hasKmsKeyVersion ()  
   Optional. Output only. [Output only] The resource name of the KMS key
 version used to encrypt the ParameterVersion payload. This field is
 populated only if the Parameter resource has customer managed encryption
 key (CMEK) configured.
 
 optional string kms_key_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the kmsKeyVersion field is set.
 
     
  
  hasPayload() 
  
    
public   boolean   hasPayload ()  
   Required. Immutable. Payload content of a ParameterVersion resource.  This
 is only returned when the request provides the View value of FULL (default
 for GET request).
 
 .google.cloud.parametermanager.v1.ParameterVersionPayload payload = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the payload field is set.
 
     
  
  hasUpdateTime() 
  
    
public   boolean   hasUpdateTime ()  
   Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the updateTime field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ParameterVersion . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ParameterVersion . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ParameterVersion . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]