Class ListDataAttributesResponse.Builder (1.37.0)

public static final class ListDataAttributesResponse.Builder extends GeneratedMessageV3.Builder<ListDataAttributesResponse.Builder> implements ListDataAttributesResponseOrBuilder

List DataAttributes response.

Protobuf type google.cloud.dataplex.v1.ListDataAttributesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDataAttributes(Iterable<? extends DataAttribute> values)

public ListDataAttributesResponse.Builder addAllDataAttributes(Iterable<? extends DataAttribute> values)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.DataAttribute>
Returns
TypeDescription
ListDataAttributesResponse.Builder

addAllUnreachableLocations(Iterable<String> values)

public ListDataAttributesResponse.Builder addAllUnreachableLocations(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachableLocations to add.

Returns
TypeDescription
ListDataAttributesResponse.Builder

This builder for chaining.

addDataAttributes(DataAttribute value)

public ListDataAttributesResponse.Builder addDataAttributes(DataAttribute value)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
valueDataAttribute
Returns
TypeDescription
ListDataAttributesResponse.Builder

addDataAttributes(DataAttribute.Builder builderForValue)

public ListDataAttributesResponse.Builder addDataAttributes(DataAttribute.Builder builderForValue)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
builderForValueDataAttribute.Builder
Returns
TypeDescription
ListDataAttributesResponse.Builder

addDataAttributes(int index, DataAttribute value)

public ListDataAttributesResponse.Builder addDataAttributes(int index, DataAttribute value)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameters
NameDescription
indexint
valueDataAttribute
Returns
TypeDescription
ListDataAttributesResponse.Builder

addDataAttributes(int index, DataAttribute.Builder builderForValue)

public ListDataAttributesResponse.Builder addDataAttributes(int index, DataAttribute.Builder builderForValue)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameters
NameDescription
indexint
builderForValueDataAttribute.Builder
Returns
TypeDescription
ListDataAttributesResponse.Builder

addDataAttributesBuilder()

public DataAttribute.Builder addDataAttributesBuilder()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
DataAttribute.Builder

addDataAttributesBuilder(int index)

public DataAttribute.Builder addDataAttributesBuilder(int index)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataAttribute.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListDataAttributesResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

Returns
TypeDescription
ListDataAttributesResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListDataAttributesResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListDataAttributesResponse.Builder

This builder for chaining.

build()

public ListDataAttributesResponse build()
Returns
TypeDescription
ListDataAttributesResponse

buildPartial()

public ListDataAttributesResponse buildPartial()
Returns
TypeDescription
ListDataAttributesResponse

clear()

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

clearDataAttributes()

public ListDataAttributesResponse.Builder clearDataAttributes()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
ListDataAttributesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDataAttributesResponse.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
ListDataAttributesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListDataAttributesResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListDataAttributesResponse.Builder

This builder for chaining.

clone()

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

getDataAttributes(int index)

public DataAttribute getDataAttributes(int index)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataAttribute

getDataAttributesBuilder(int index)

public DataAttribute.Builder getDataAttributesBuilder(int index)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataAttribute.Builder

getDataAttributesBuilderList()

public List<DataAttribute.Builder> getDataAttributesBuilderList()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
List<Builder>

getDataAttributesCount()

public int getDataAttributesCount()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
int

getDataAttributesList()

public List<DataAttribute> getDataAttributesList()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
List<DataAttribute>

getDataAttributesOrBuilder(int index)

public DataAttributeOrBuilder getDataAttributesOrBuilder(int index)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataAttributeOrBuilder

getDataAttributesOrBuilderList()

public List<? extends DataAttributeOrBuilder> getDataAttributesOrBuilderList()

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.DataAttributeOrBuilder>

getDefaultInstanceForType()

public ListDataAttributesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataAttributesResponse

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.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataAttributesResponse other)

public ListDataAttributesResponse.Builder mergeFrom(ListDataAttributesResponse other)
Parameter
NameDescription
otherListDataAttributesResponse
Returns
TypeDescription
ListDataAttributesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataAttributes(int index)

public ListDataAttributesResponse.Builder removeDataAttributes(int index)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDataAttributesResponse.Builder

setDataAttributes(int index, DataAttribute value)

public ListDataAttributesResponse.Builder setDataAttributes(int index, DataAttribute value)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameters
NameDescription
indexint
valueDataAttribute
Returns
TypeDescription
ListDataAttributesResponse.Builder

setDataAttributes(int index, DataAttribute.Builder builderForValue)

public ListDataAttributesResponse.Builder setDataAttributes(int index, DataAttribute.Builder builderForValue)

DataAttributes under the given parent DataTaxonomy.

repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;

Parameters
NameDescription
indexint
builderForValueDataAttribute.Builder
Returns
TypeDescription
ListDataAttributesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataAttributesResponse.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
ListDataAttributesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataAttributesResponse.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
ListDataAttributesResponse.Builder

This builder for chaining.

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

public ListDataAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDataAttributesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachableLocations(int index, String value)

public ListDataAttributesResponse.Builder setUnreachableLocations(int index, String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListDataAttributesResponse.Builder

This builder for chaining.