Class ListDataScansResponse.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.DataScan>
Returns
TypeDescription
ListDataScansResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueDataScan
Returns
TypeDescription
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
NameDescription
builderForValueDataScan.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataScan
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataScan.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataScan.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDataScansResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListDataScansResponse.Builder

This builder for chaining.

build()

public ListDataScansResponse build()
Returns
TypeDescription
ListDataScansResponse

buildPartial()

public ListDataScansResponse buildPartial()
Returns
TypeDescription
ListDataScansResponse

clear()

public ListDataScansResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListDataScansResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDataScansResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDataScansResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDataScansResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListDataScansResponse.Builder

This builder for chaining.

clone()

public ListDataScansResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dataplex.v1.DataScanOrBuilder>

getDefaultInstanceForType()

public ListDataScansResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataScansResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataScansResponse other)

public ListDataScansResponse.Builder mergeFrom(ListDataScansResponse other)
Parameter
NameDescription
otherListDataScansResponse
Returns
TypeDescription
ListDataScansResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataScansResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataScan
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataScan.Builder
Returns
TypeDescription
ListDataScansResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDataScansResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListDataScansResponse.Builder

This builder for chaining.