Class ListSnapshotsRequest.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

build()

public ListSnapshotsRequest build()
Returns
TypeDescription
ListSnapshotsRequest

buildPartial()

public ListSnapshotsRequest buildPartial()
Returns
TypeDescription
ListSnapshotsRequest

clear()

public ListSnapshotsRequest.Builder clear()
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSnapshotsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

clearJobId()

public ListSnapshotsRequest.Builder clearJobId()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
TypeDescription
ListSnapshotsRequest.Builder

This builder for chaining.

clearLocation()

public ListSnapshotsRequest.Builder clearLocation()

The location to list snapshots in.

string location = 2;

Returns
TypeDescription
ListSnapshotsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSnapshotsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

clearProjectId()

public ListSnapshotsRequest.Builder clearProjectId()

The project ID to list snapshots for.

string project_id = 1;

Returns
TypeDescription
ListSnapshotsRequest.Builder

This builder for chaining.

clone()

public ListSnapshotsRequest.Builder clone()
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSnapshotsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSnapshotsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobId()

public String getJobId()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

If specified, list snapshots created from this job.

string job_id = 3;

Returns
TypeDescription
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The location to list snapshots in.

string location = 2;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location to list snapshots in.

string location = 2;

Returns
TypeDescription
ByteString

The bytes for location.

getProjectId()

public String getProjectId()

The project ID to list snapshots for.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID to list snapshots for.

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSnapshotsRequest other)

public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)
Parameter
NameDescription
otherListSnapshotsRequest
Returns
TypeDescription
ListSnapshotsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSnapshotsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSnapshotsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSnapshotsRequest.Builder
Overrides