Class DeleteSnapshotRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeleteSnapshotRequest.Builder>
com.google.dataflow.v1beta3.DeleteSnapshotRequest.Builder
All Implemented Interfaces:
DeleteSnapshotRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeleteSnapshotRequest

public static final class DeleteSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteSnapshotRequest.Builder> implements DeleteSnapshotRequestOrBuilder
 Request to delete a snapshot.
 
Protobuf type google.dataflow.v1beta3.DeleteSnapshotRequest
  • 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<DeleteSnapshotRequest.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<DeleteSnapshotRequest.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<DeleteSnapshotRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DeleteSnapshotRequest.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<DeleteSnapshotRequest.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       The ID of the Cloud Platform project that the snapshot belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The ID of the Cloud Platform project that the snapshot belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public DeleteSnapshotRequest.Builder setProjectId(String value)
       The ID of the Cloud Platform project that the snapshot belongs to.
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public DeleteSnapshotRequest.Builder clearProjectId()
       The ID of the Cloud Platform project that the snapshot belongs to.
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public DeleteSnapshotRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       The ID of the Cloud Platform project that the snapshot belongs to.
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getSnapshotId

      public String getSnapshotId()
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Specified by:
      getSnapshotId in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The snapshotId.
    • getSnapshotIdBytes

      public com.google.protobuf.ByteString getSnapshotIdBytes()
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Specified by:
      getSnapshotIdBytes in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The bytes for snapshotId.
    • setSnapshotId

      public DeleteSnapshotRequest.Builder setSnapshotId(String value)
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Parameters:
      value - The snapshotId to set.
      Returns:
      This builder for chaining.
    • clearSnapshotId

      public DeleteSnapshotRequest.Builder clearSnapshotId()
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Returns:
      This builder for chaining.
    • setSnapshotIdBytes

      public DeleteSnapshotRequest.Builder setSnapshotIdBytes(com.google.protobuf.ByteString value)
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Parameters:
      value - The bytes for snapshotId to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       The location that contains this snapshot.
       
      string location = 3;
      Specified by:
      getLocation in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The location that contains this snapshot.
       
      string location = 3;
      Specified by:
      getLocationBytes in interface DeleteSnapshotRequestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public DeleteSnapshotRequest.Builder setLocation(String value)
       The location that contains this snapshot.
       
      string location = 3;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public DeleteSnapshotRequest.Builder clearLocation()
       The location that contains this snapshot.
       
      string location = 3;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public DeleteSnapshotRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The location that contains this snapshot.
       
      string location = 3;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.