Class ListSnapshotsRequest.Builder (0.48.0)

public static final class ListSnapshotsRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ListSnapshotsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSnapshotsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSnapshotsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides