Class ListDataScansResponse.Builder (1.50.0)

public static final class ListDataScansResponse.Builder extends GeneratedMessageV3.Builder<ListDataScansResponse.Builder> implements ListDataScansResponseOrBuilder

List dataScans response.

Protobuf type google.cloud.dataplex.v1.ListDataScansResponse

Static Methods

getDescriptor()

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

Methods

addAllDataScans(Iterable<? extends DataScan> values)

public ListDataScansResponse.Builder addAllDataScans(Iterable<? extends DataScan> values)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.DataScan>
Returns
Type Description
ListDataScansResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListDataScansResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

addDataScans(DataScan value)

public ListDataScansResponse.Builder addDataScans(DataScan value)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
value DataScan
Returns
Type Description
ListDataScansResponse.Builder

addDataScans(DataScan.Builder builderForValue)

public ListDataScansResponse.Builder addDataScans(DataScan.Builder builderForValue)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
builderForValue DataScan.Builder
Returns
Type Description
ListDataScansResponse.Builder

addDataScans(int index, DataScan value)

public ListDataScansResponse.Builder addDataScans(int index, DataScan value)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameters
Name Description
index int
value DataScan
Returns
Type Description
ListDataScansResponse.Builder

addDataScans(int index, DataScan.Builder builderForValue)

public ListDataScansResponse.Builder addDataScans(int index, DataScan.Builder builderForValue)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameters
Name Description
index int
builderForValue DataScan.Builder
Returns
Type Description
ListDataScansResponse.Builder

addDataScansBuilder()

public DataScan.Builder addDataScansBuilder()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
DataScan.Builder

addDataScansBuilder(int index)

public DataScan.Builder addDataScansBuilder(int index)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
index int
Returns
Type Description
DataScan.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDataScansResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDataScansResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

build()

public ListDataScansResponse build()
Returns
Type Description
ListDataScansResponse

buildPartial()

public ListDataScansResponse buildPartial()
Returns
Type Description
ListDataScansResponse

clear()

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

clearDataScans()

public ListDataScansResponse.Builder clearDataScans()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
ListDataScansResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDataScansResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDataScansResponse.Builder
Overrides

clearNextPageToken()

public ListDataScansResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDataScansResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

clone()

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

getDataScans(int index)

public DataScan getDataScans(int index)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
index int
Returns
Type Description
DataScan

getDataScansBuilder(int index)

public DataScan.Builder getDataScansBuilder(int index)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
index int
Returns
Type Description
DataScan.Builder

getDataScansBuilderList()

public List<DataScan.Builder> getDataScansBuilderList()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
List<Builder>

getDataScansCount()

public int getDataScansCount()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
int

getDataScansList()

public List<DataScan> getDataScansList()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
List<DataScan>

getDataScansOrBuilder(int index)

public DataScanOrBuilder getDataScansOrBuilder(int index)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
index int
Returns
Type Description
DataScanOrBuilder

getDataScansOrBuilderList()

public List<? extends DataScanOrBuilder> getDataScansOrBuilderList()

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.DataScanOrBuilder>

getDefaultInstanceForType()

public ListDataScansResponse getDefaultInstanceForType()
Returns
Type Description
ListDataScansResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataScansResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataScans(int index)

public ListDataScansResponse.Builder removeDataScans(int index)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataScansResponse.Builder

setDataScans(int index, DataScan value)

public ListDataScansResponse.Builder setDataScans(int index, DataScan value)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameters
Name Description
index int
value DataScan
Returns
Type Description
ListDataScansResponse.Builder

setDataScans(int index, DataScan.Builder builderForValue)

public ListDataScansResponse.Builder setDataScans(int index, DataScan.Builder builderForValue)

DataScans (BASIC view only) under the given parent location.

repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;

Parameters
Name Description
index int
builderForValue DataScan.Builder
Returns
Type Description
ListDataScansResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataScansResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataScansResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListDataScansResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListDataScansResponse.Builder

This builder for chaining.