Class GetSnapshotRequest.Builder

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

public static final class GetSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.Builder> implements GetSnapshotRequestOrBuilder
 Request to get information about a snapshot
 
Protobuf type google.dataflow.v1beta3.GetSnapshotRequest
  • 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<GetSnapshotRequest.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<GetSnapshotRequest.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<GetSnapshotRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GetSnapshotRequest.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<GetSnapshotRequest.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 GetSnapshotRequestOrBuilder
      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 GetSnapshotRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public GetSnapshotRequest.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 GetSnapshotRequest.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 GetSnapshotRequest.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 GetSnapshotRequestOrBuilder
      Returns:
      The snapshotId.
    • getSnapshotIdBytes

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

      public GetSnapshotRequest.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 GetSnapshotRequest.Builder clearSnapshotId()
       The ID of the snapshot.
       
      string snapshot_id = 2;
      Returns:
      This builder for chaining.
    • setSnapshotIdBytes

      public GetSnapshotRequest.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 GetSnapshotRequestOrBuilder
      Returns:
      The location.
    • getLocationBytes

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

      public GetSnapshotRequest.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 GetSnapshotRequest.Builder clearLocation()
       The location that contains this snapshot.
       
      string location = 3;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public GetSnapshotRequest.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.