Class InstantSnapshot.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
com.google.cloud.compute.v1.InstantSnapshot.Builder
All Implemented Interfaces:
InstantSnapshotOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InstantSnapshot

public static final class InstantSnapshot.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder> implements InstantSnapshotOrBuilder
 Represents a InstantSnapshot resource.

 You can use instant snapshots to create disk rollback points quickly..
 
Protobuf type google.cloud.compute.v1.InstantSnapshot
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • clear

      public InstantSnapshot.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • getDefaultInstanceForType

      public InstantSnapshot getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public InstantSnapshot build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InstantSnapshot buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InstantSnapshot.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstantSnapshot.Builder>
    • mergeFrom

      public InstantSnapshot.Builder mergeFrom(InstantSnapshot other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InstantSnapshot.Builder>
    • mergeFrom

      public InstantSnapshot.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstantSnapshot.Builder>
      Throws:
      IOException
    • hasArchitecture

      public boolean hasArchitecture()
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Specified by:
      hasArchitecture in interface InstantSnapshotOrBuilder
      Returns:
      Whether the architecture field is set.
    • getArchitecture

      public String getArchitecture()
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Specified by:
      getArchitecture in interface InstantSnapshotOrBuilder
      Returns:
      The architecture.
    • getArchitectureBytes

      public com.google.protobuf.ByteString getArchitectureBytes()
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Specified by:
      getArchitectureBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for architecture.
    • setArchitecture

      public InstantSnapshot.Builder setArchitecture(String value)
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Parameters:
      value - The architecture to set.
      Returns:
      This builder for chaining.
    • clearArchitecture

      public InstantSnapshot.Builder clearArchitecture()
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Returns:
      This builder for chaining.
    • setArchitectureBytes

      public InstantSnapshot.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The architecture of the instant snapshot. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Parameters:
      value - The bytes for architecture to set.
      Returns:
      This builder for chaining.
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface InstantSnapshotOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface InstantSnapshotOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public InstantSnapshot.Builder setCreationTimestamp(String value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public InstantSnapshot.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public InstantSnapshot.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface InstantSnapshotOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface InstantSnapshotOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public InstantSnapshot.Builder setDescription(String value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public InstantSnapshot.Builder clearDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public InstantSnapshot.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasDiskSizeGb

      public boolean hasDiskSizeGb()
       Output only. [Output Only] Size of the source disk, specified in GB.
       
      optional int64 disk_size_gb = 316263735;
      Specified by:
      hasDiskSizeGb in interface InstantSnapshotOrBuilder
      Returns:
      Whether the diskSizeGb field is set.
    • getDiskSizeGb

      public long getDiskSizeGb()
       Output only. [Output Only] Size of the source disk, specified in GB.
       
      optional int64 disk_size_gb = 316263735;
      Specified by:
      getDiskSizeGb in interface InstantSnapshotOrBuilder
      Returns:
      The diskSizeGb.
    • setDiskSizeGb

      public InstantSnapshot.Builder setDiskSizeGb(long value)
       Output only. [Output Only] Size of the source disk, specified in GB.
       
      optional int64 disk_size_gb = 316263735;
      Parameters:
      value - The diskSizeGb to set.
      Returns:
      This builder for chaining.
    • clearDiskSizeGb

      public InstantSnapshot.Builder clearDiskSizeGb()
       Output only. [Output Only] Size of the source disk, specified in GB.
       
      optional int64 disk_size_gb = 316263735;
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface InstantSnapshotOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface InstantSnapshotOrBuilder
      Returns:
      The id.
    • setId

      public InstantSnapshot.Builder setId(long value)
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public InstantSnapshot.Builder clearId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface InstantSnapshotOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface InstantSnapshotOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public InstantSnapshot.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public InstantSnapshot.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public InstantSnapshot.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasLabelFingerprint

      public boolean hasLabelFingerprint()
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      hasLabelFingerprint in interface InstantSnapshotOrBuilder
      Returns:
      Whether the labelFingerprint field is set.
    • getLabelFingerprint

      public String getLabelFingerprint()
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprint in interface InstantSnapshotOrBuilder
      Returns:
      The labelFingerprint.
    • getLabelFingerprintBytes

      public com.google.protobuf.ByteString getLabelFingerprintBytes()
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprintBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for labelFingerprint.
    • setLabelFingerprint

      public InstantSnapshot.Builder setLabelFingerprint(String value)
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The labelFingerprint to set.
      Returns:
      This builder for chaining.
    • clearLabelFingerprint

      public InstantSnapshot.Builder clearLabelFingerprint()
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Returns:
      This builder for chaining.
    • setLabelFingerprintBytes

      public InstantSnapshot.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
       A fingerprint for the labels being applied to this InstantSnapshot, which
       is essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a InstantSnapshot.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The bytes for labelFingerprint to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstantSnapshotOrBuilder
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsCount in interface InstantSnapshotOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      containsLabels in interface InstantSnapshotOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InstantSnapshotOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsMap in interface InstantSnapshotOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrDefault in interface InstantSnapshotOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrThrow in interface InstantSnapshotOrBuilder
    • clearLabels

      public InstantSnapshot.Builder clearLabels()
    • removeLabels

      public InstantSnapshot.Builder removeLabels(String key)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public InstantSnapshot.Builder putLabels(String key, String value)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • putAllLabels

      public InstantSnapshot.Builder putAllLabels(Map<String,String> values)
       Labels to apply to this InstantSnapshot. These can be later modified by
       the setLabels method.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • hasName

      public boolean hasName()
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface InstantSnapshotOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface InstantSnapshotOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for name.
    • setName

      public InstantSnapshot.Builder setName(String value)
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public InstantSnapshot.Builder clearName()
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public InstantSnapshot.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasParams

      public boolean hasParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
      Specified by:
      hasParams in interface InstantSnapshotOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public InstantSnapshotParams getParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
      Specified by:
      getParams in interface InstantSnapshotOrBuilder
      Returns:
      The params.
    • setParams

       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
    • setParams

      public InstantSnapshot.Builder setParams(InstantSnapshotParams.Builder builderForValue)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
    • mergeParams

      public InstantSnapshot.Builder mergeParams(InstantSnapshotParams value)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
    • clearParams

      public InstantSnapshot.Builder clearParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
    • getParamsBuilder

      public InstantSnapshotParams.Builder getParamsBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
    • getParamsOrBuilder

      public InstantSnapshotParamsOrBuilder getParamsOrBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;
      Specified by:
      getParamsOrBuilder in interface InstantSnapshotOrBuilder
    • hasRegion

      public boolean hasRegion()
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Specified by:
      hasRegion in interface InstantSnapshotOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Specified by:
      getRegion in interface InstantSnapshotOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Specified by:
      getRegionBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public InstantSnapshot.Builder setRegion(String value)
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public InstantSnapshot.Builder clearRegion()
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public InstantSnapshot.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the region where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string region = 138946292;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • hasResourceStatus

      public boolean hasResourceStatus()
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
      Specified by:
      hasResourceStatus in interface InstantSnapshotOrBuilder
      Returns:
      Whether the resourceStatus field is set.
    • getResourceStatus

      public InstantSnapshotResourceStatus getResourceStatus()
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
      Specified by:
      getResourceStatus in interface InstantSnapshotOrBuilder
      Returns:
      The resourceStatus.
    • setResourceStatus

      public InstantSnapshot.Builder setResourceStatus(InstantSnapshotResourceStatus value)
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
    • setResourceStatus

      public InstantSnapshot.Builder setResourceStatus(InstantSnapshotResourceStatus.Builder builderForValue)
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
    • mergeResourceStatus

      public InstantSnapshot.Builder mergeResourceStatus(InstantSnapshotResourceStatus value)
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
    • clearResourceStatus

      public InstantSnapshot.Builder clearResourceStatus()
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
    • getResourceStatusBuilder

      public InstantSnapshotResourceStatus.Builder getResourceStatusBuilder()
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
    • getResourceStatusOrBuilder

      public InstantSnapshotResourceStatusOrBuilder getResourceStatusOrBuilder()
       Output only. [Output Only] Status information for the instant snapshot resource.
       
      optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
      Specified by:
      getResourceStatusOrBuilder in interface InstantSnapshotOrBuilder
    • hasSatisfiesPzi

      public boolean hasSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Specified by:
      hasSatisfiesPzi in interface InstantSnapshotOrBuilder
      Returns:
      Whether the satisfiesPzi field is set.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Specified by:
      getSatisfiesPzi in interface InstantSnapshotOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public InstantSnapshot.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public InstantSnapshot.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Returns:
      This builder for chaining.
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      hasSatisfiesPzs in interface InstantSnapshotOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      getSatisfiesPzs in interface InstantSnapshotOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public InstantSnapshot.Builder setSatisfiesPzs(boolean value)
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public InstantSnapshot.Builder clearSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Returns:
      This builder for chaining.
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface InstantSnapshotOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface InstantSnapshotOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public InstantSnapshot.Builder setSelfLink(String value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public InstantSnapshot.Builder clearSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public InstantSnapshot.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • hasSelfLinkWithId

      public boolean hasSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      hasSelfLinkWithId in interface InstantSnapshotOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      public String getSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithId in interface InstantSnapshotOrBuilder
      Returns:
      The selfLinkWithId.
    • getSelfLinkWithIdBytes

      public com.google.protobuf.ByteString getSelfLinkWithIdBytes()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithIdBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • setSelfLinkWithId

      public InstantSnapshot.Builder setSelfLinkWithId(String value)
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • clearSelfLinkWithId

      public InstantSnapshot.Builder clearSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      This builder for chaining.
    • setSelfLinkWithIdBytes

      public InstantSnapshot.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The bytes for selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • hasSourceDisk

      public boolean hasSourceDisk()
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Specified by:
      hasSourceDisk in interface InstantSnapshotOrBuilder
      Returns:
      Whether the sourceDisk field is set.
    • getSourceDisk

      public String getSourceDisk()
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Specified by:
      getSourceDisk in interface InstantSnapshotOrBuilder
      Returns:
      The sourceDisk.
    • getSourceDiskBytes

      public com.google.protobuf.ByteString getSourceDiskBytes()
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Specified by:
      getSourceDiskBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for sourceDisk.
    • setSourceDisk

      public InstantSnapshot.Builder setSourceDisk(String value)
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Parameters:
      value - The sourceDisk to set.
      Returns:
      This builder for chaining.
    • clearSourceDisk

      public InstantSnapshot.Builder clearSourceDisk()
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Returns:
      This builder for chaining.
    • setSourceDiskBytes

      public InstantSnapshot.Builder setSourceDiskBytes(com.google.protobuf.ByteString value)
       URL of the source disk used to create this instant snapshot.
       Note that the source disk must be in the same zone/region as the
       instant snapshot to be created. This can be a full or valid partial URL.
       For example, the following are valid values:
      
      
       -
       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
      
       -
       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk
      
       -
       projects/project/zones/zone/disks/disk
      
       -
       projects/project/regions/region/disks/disk
      
       -
       zones/zone/disks/disk
      
       -
       regions/region/disks/disk
       
      optional string source_disk = 451753793;
      Parameters:
      value - The bytes for sourceDisk to set.
      Returns:
      This builder for chaining.
    • hasSourceDiskId

      public boolean hasSourceDiskId()
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Specified by:
      hasSourceDiskId in interface InstantSnapshotOrBuilder
      Returns:
      Whether the sourceDiskId field is set.
    • getSourceDiskId

      public String getSourceDiskId()
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Specified by:
      getSourceDiskId in interface InstantSnapshotOrBuilder
      Returns:
      The sourceDiskId.
    • getSourceDiskIdBytes

      public com.google.protobuf.ByteString getSourceDiskIdBytes()
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Specified by:
      getSourceDiskIdBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for sourceDiskId.
    • setSourceDiskId

      public InstantSnapshot.Builder setSourceDiskId(String value)
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Parameters:
      value - The sourceDiskId to set.
      Returns:
      This builder for chaining.
    • clearSourceDiskId

      public InstantSnapshot.Builder clearSourceDiskId()
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Returns:
      This builder for chaining.
    • setSourceDiskIdBytes

      public InstantSnapshot.Builder setSourceDiskIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.
       This value may be used to determine whether the InstantSnapshot
       was taken from the current or a previous instance of a given disk name.
       
      optional string source_disk_id = 454190809;
      Parameters:
      value - The bytes for sourceDiskId to set.
      Returns:
      This builder for chaining.
    • hasSourceInstantSnapshotGroup

      public boolean hasSourceInstantSnapshotGroup()
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Specified by:
      hasSourceInstantSnapshotGroup in interface InstantSnapshotOrBuilder
      Returns:
      Whether the sourceInstantSnapshotGroup field is set.
    • getSourceInstantSnapshotGroup

      public String getSourceInstantSnapshotGroup()
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Specified by:
      getSourceInstantSnapshotGroup in interface InstantSnapshotOrBuilder
      Returns:
      The sourceInstantSnapshotGroup.
    • getSourceInstantSnapshotGroupBytes

      public com.google.protobuf.ByteString getSourceInstantSnapshotGroupBytes()
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Specified by:
      getSourceInstantSnapshotGroupBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for sourceInstantSnapshotGroup.
    • setSourceInstantSnapshotGroup

      public InstantSnapshot.Builder setSourceInstantSnapshotGroup(String value)
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Parameters:
      value - The sourceInstantSnapshotGroup to set.
      Returns:
      This builder for chaining.
    • clearSourceInstantSnapshotGroup

      public InstantSnapshot.Builder clearSourceInstantSnapshotGroup()
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Returns:
      This builder for chaining.
    • setSourceInstantSnapshotGroupBytes

      public InstantSnapshot.Builder setSourceInstantSnapshotGroupBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the source instant snapshot this instant snapshot is
       part of. Note that the source instant snapshot group must be in the same
       zone/region as the instant snapshot to be created. This can be a full or
       valid partial URL.
       
      optional string source_instant_snapshot_group = 525991686;
      Parameters:
      value - The bytes for sourceInstantSnapshotGroup to set.
      Returns:
      This builder for chaining.
    • hasSourceInstantSnapshotGroupId

      public boolean hasSourceInstantSnapshotGroupId()
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Specified by:
      hasSourceInstantSnapshotGroupId in interface InstantSnapshotOrBuilder
      Returns:
      Whether the sourceInstantSnapshotGroupId field is set.
    • getSourceInstantSnapshotGroupId

      public String getSourceInstantSnapshotGroupId()
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Specified by:
      getSourceInstantSnapshotGroupId in interface InstantSnapshotOrBuilder
      Returns:
      The sourceInstantSnapshotGroupId.
    • getSourceInstantSnapshotGroupIdBytes

      public com.google.protobuf.ByteString getSourceInstantSnapshotGroupIdBytes()
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Specified by:
      getSourceInstantSnapshotGroupIdBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for sourceInstantSnapshotGroupId.
    • setSourceInstantSnapshotGroupId

      public InstantSnapshot.Builder setSourceInstantSnapshotGroupId(String value)
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Parameters:
      value - The sourceInstantSnapshotGroupId to set.
      Returns:
      This builder for chaining.
    • clearSourceInstantSnapshotGroupId

      public InstantSnapshot.Builder clearSourceInstantSnapshotGroupId()
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Returns:
      This builder for chaining.
    • setSourceInstantSnapshotGroupIdBytes

      public InstantSnapshot.Builder setSourceInstantSnapshotGroupIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The ID value of the source instant snapshot group this
       InstantSnapshot is part of. This value may be used to determine whether the
       InstantSnapshot was created as part of an InstantSnapshotGroup creation.
       
      optional string source_instant_snapshot_group_id = 167103732;
      Parameters:
      value - The bytes for sourceInstantSnapshotGroupId to set.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface InstantSnapshotOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface InstantSnapshotOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public InstantSnapshot.Builder setStatus(String value)
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public InstantSnapshot.Builder clearStatus()
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public InstantSnapshot.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • hasZone

      public boolean hasZone()
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface InstantSnapshotOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface InstantSnapshotOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface InstantSnapshotOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public InstantSnapshot.Builder setZone(String value)
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

      public InstantSnapshot.Builder clearZone()
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Returns:
      This builder for chaining.
    • setZoneBytes

      public InstantSnapshot.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the zone where the instant snapshot resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.