Class ListSnapshotsRequest.Builder (0.87.0)

public static final class ListSnapshotsRequest.Builder extends GeneratedMessage.Builder<ListSnapshotsRequest.Builder> implements ListSnapshotsRequestOrBuilder

Request to list snapshots.

Protobuf type google.dataflow.v1beta3.ListSnapshotsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListSnapshotsRequest build()
Returns
Type Description
ListSnapshotsRequest

buildPartial()

public ListSnapshotsRequest buildPartial()
Returns
Type Description
ListSnapshotsRequest

clear()

public ListSnapshotsRequest.Builder clear()
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

clearJobId()

public ListSnapshotsRequest.Builder clearJobId()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

clearLocation()

public ListSnapshotsRequest.Builder clearLocation()

The location to list snapshots in.

string location = 2;

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

clearProjectId()

public ListSnapshotsRequest.Builder clearProjectId()

The project ID to list snapshots for.

string project_id = 1;

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListSnapshotsRequest getDefaultInstanceForType()
Returns
Type Description
ListSnapshotsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJobId()

public String getJobId()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
Type Description
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The location to list snapshots in.

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location to list snapshots in.

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getProjectId()

public String getProjectId()

The project ID to list snapshots for.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID to list snapshots for.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSnapshotsRequest other)

public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)
Parameter
Name Description
other ListSnapshotsRequest
Returns
Type Description
ListSnapshotsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSnapshotsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSnapshotsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

setJobId(String value)

public ListSnapshotsRequest.Builder setJobId(String value)

If specified, list snapshots created from this job.

string job_id = 3;

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public ListSnapshotsRequest.Builder setJobIdBytes(ByteString value)

If specified, list snapshots created from this job.

string job_id = 3;

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

setLocation(String value)

public ListSnapshotsRequest.Builder setLocation(String value)

The location to list snapshots in.

string location = 2;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ListSnapshotsRequest.Builder setLocationBytes(ByteString value)

The location to list snapshots in.

string location = 2;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

setProjectId(String value)

public ListSnapshotsRequest.Builder setProjectId(String value)

The project ID to list snapshots for.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListSnapshotsRequest.Builder setProjectIdBytes(ByteString value)

The project ID to list snapshots for.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListSnapshotsRequest.Builder

This builder for chaining.