Class ParameterVersion

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.parametermanager.v1.ParameterVersion
All Implemented Interfaces:
ParameterVersionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ParameterVersion extends com.google.protobuf.GeneratedMessage implements ParameterVersionOrBuilder
 Message describing ParameterVersion resource
 
Protobuf type google.cloud.parametermanager.v1.ParameterVersion
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String 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];
      Specified by:
      getName in interface ParameterVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface ParameterVersionOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. [Output only] Create time stamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ParameterVersionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. [Output only] Create time stamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ParameterVersionOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. [Output only] Create time stamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ParameterVersionOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ParameterVersionOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ParameterVersionOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ParameterVersionOrBuilder
    • 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];
      Specified by:
      getDisabled in interface ParameterVersionOrBuilder
      Returns:
      The disabled.
    • 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];
      Specified by:
      hasPayload in interface ParameterVersionOrBuilder
      Returns:
      Whether the payload field is set.
    • 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];
      Specified by:
      getPayload in interface ParameterVersionOrBuilder
      Returns:
      The payload.
    • 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];
      Specified by:
      getPayloadOrBuilder in interface ParameterVersionOrBuilder
    • 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];
      Specified by:
      hasKmsKeyVersion in interface ParameterVersionOrBuilder
      Returns:
      Whether the kmsKeyVersion field is set.
    • 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];
      Specified by:
      getKmsKeyVersion in interface ParameterVersionOrBuilder
      Returns:
      The kmsKeyVersion.
    • getKmsKeyVersionBytes

      public com.google.protobuf.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];
      Specified by:
      getKmsKeyVersionBytes in interface ParameterVersionOrBuilder
      Returns:
      The bytes for kmsKeyVersion.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ParameterVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ParameterVersion parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ParameterVersion parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ParameterVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ParameterVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ParameterVersion.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ParameterVersion.Builder newBuilder()
    • newBuilder

      public static ParameterVersion.Builder newBuilder(ParameterVersion prototype)
    • toBuilder

      public ParameterVersion.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ParameterVersion.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ParameterVersion getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ParameterVersion> parser()
    • getParserForType

      public com.google.protobuf.Parser<ParameterVersion> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ParameterVersion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder