Class InstantSnapshotGroupSourceInfo.Builder

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

public static final class InstantSnapshotGroupSourceInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstantSnapshotGroupSourceInfo.Builder> implements InstantSnapshotGroupSourceInfoOrBuilder
 
Protobuf type google.cloud.compute.v1.InstantSnapshotGroupSourceInfo
  • 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.Builder<InstantSnapshotGroupSourceInfo.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<InstantSnapshotGroupSourceInfo.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<InstantSnapshotGroupSourceInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public InstantSnapshotGroupSourceInfo.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<InstantSnapshotGroupSourceInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public InstantSnapshotGroupSourceInfo.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<InstantSnapshotGroupSourceInfo.Builder>
      Throws:
      IOException
    • hasConsistencyGroup

      public boolean hasConsistencyGroup()
      optional string consistency_group = 508183960;
      Specified by:
      hasConsistencyGroup in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      Whether the consistencyGroup field is set.
    • getConsistencyGroup

      public String getConsistencyGroup()
      optional string consistency_group = 508183960;
      Specified by:
      getConsistencyGroup in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      The consistencyGroup.
    • getConsistencyGroupBytes

      public com.google.protobuf.ByteString getConsistencyGroupBytes()
      optional string consistency_group = 508183960;
      Specified by:
      getConsistencyGroupBytes in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      The bytes for consistencyGroup.
    • setConsistencyGroup

      public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroup(String value)
      optional string consistency_group = 508183960;
      Parameters:
      value - The consistencyGroup to set.
      Returns:
      This builder for chaining.
    • clearConsistencyGroup

      public InstantSnapshotGroupSourceInfo.Builder clearConsistencyGroup()
      optional string consistency_group = 508183960;
      Returns:
      This builder for chaining.
    • setConsistencyGroupBytes

      public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupBytes(com.google.protobuf.ByteString value)
      optional string consistency_group = 508183960;
      Parameters:
      value - The bytes for consistencyGroup to set.
      Returns:
      This builder for chaining.
    • hasConsistencyGroupId

      public boolean hasConsistencyGroupId()
      optional string consistency_group_id = 85599522;
      Specified by:
      hasConsistencyGroupId in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      Whether the consistencyGroupId field is set.
    • getConsistencyGroupId

      public String getConsistencyGroupId()
      optional string consistency_group_id = 85599522;
      Specified by:
      getConsistencyGroupId in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      The consistencyGroupId.
    • getConsistencyGroupIdBytes

      public com.google.protobuf.ByteString getConsistencyGroupIdBytes()
      optional string consistency_group_id = 85599522;
      Specified by:
      getConsistencyGroupIdBytes in interface InstantSnapshotGroupSourceInfoOrBuilder
      Returns:
      The bytes for consistencyGroupId.
    • setConsistencyGroupId

      public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupId(String value)
      optional string consistency_group_id = 85599522;
      Parameters:
      value - The consistencyGroupId to set.
      Returns:
      This builder for chaining.
    • clearConsistencyGroupId

      public InstantSnapshotGroupSourceInfo.Builder clearConsistencyGroupId()
      optional string consistency_group_id = 85599522;
      Returns:
      This builder for chaining.
    • setConsistencyGroupIdBytes

      public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupIdBytes(com.google.protobuf.ByteString value)
      optional string consistency_group_id = 85599522;
      Parameters:
      value - The bytes for consistencyGroupId to set.
      Returns:
      This builder for chaining.