Class ListAspectTypesResponse.Builder (1.97.0)

public static final class ListAspectTypesResponse.Builder extends GeneratedMessage.Builder<ListAspectTypesResponse.Builder> implements ListAspectTypesResponseOrBuilder

List AspectTypes response.

Protobuf type google.cloud.dataplex.v1.ListAspectTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllAspectTypes(Iterable<? extends AspectType> values)

public ListAspectTypesResponse.Builder addAllAspectTypes(Iterable<? extends AspectType> values)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

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

addAllUnreachableLocations(Iterable<String> values)

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

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
values Iterable<String>

The unreachableLocations to add.

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.

addAspectTypes(AspectType value)

public ListAspectTypesResponse.Builder addAspectTypes(AspectType value)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
value AspectType
Returns
Type Description
ListAspectTypesResponse.Builder

addAspectTypes(AspectType.Builder builderForValue)

public ListAspectTypesResponse.Builder addAspectTypes(AspectType.Builder builderForValue)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
builderForValue AspectType.Builder
Returns
Type Description
ListAspectTypesResponse.Builder

addAspectTypes(int index, AspectType value)

public ListAspectTypesResponse.Builder addAspectTypes(int index, AspectType value)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameters
Name Description
index int
value AspectType
Returns
Type Description
ListAspectTypesResponse.Builder

addAspectTypes(int index, AspectType.Builder builderForValue)

public ListAspectTypesResponse.Builder addAspectTypes(int index, AspectType.Builder builderForValue)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameters
Name Description
index int
builderForValue AspectType.Builder
Returns
Type Description
ListAspectTypesResponse.Builder

addAspectTypesBuilder()

public AspectType.Builder addAspectTypesBuilder()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Returns
Type Description
AspectType.Builder

addAspectTypesBuilder(int index)

public AspectType.Builder addAspectTypesBuilder(int index)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
index int
Returns
Type Description
AspectType.Builder

addUnreachableLocations(String value)

public ListAspectTypesResponse.Builder addUnreachableLocations(String value)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
value String

The unreachableLocations to add.

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListAspectTypesResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachableLocations to add.

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.

build()

public ListAspectTypesResponse build()
Returns
Type Description
ListAspectTypesResponse

buildPartial()

public ListAspectTypesResponse buildPartial()
Returns
Type Description
ListAspectTypesResponse

clear()

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

clearAspectTypes()

public ListAspectTypesResponse.Builder clearAspectTypes()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Returns
Type Description
ListAspectTypesResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearUnreachableLocations()

public ListAspectTypesResponse.Builder clearUnreachableLocations()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.

getAspectTypes(int index)

public AspectType getAspectTypes(int index)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
index int
Returns
Type Description
AspectType

getAspectTypesBuilder(int index)

public AspectType.Builder getAspectTypesBuilder(int index)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
index int
Returns
Type Description
AspectType.Builder

getAspectTypesBuilderList()

public List<AspectType.Builder> getAspectTypesBuilderList()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Returns
Type Description
List<Builder>

getAspectTypesCount()

public int getAspectTypesCount()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Returns
Type Description
int

getAspectTypesList()

public List<AspectType> getAspectTypesList()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Returns
Type Description
List<AspectType>

getAspectTypesOrBuilder(int index)

public AspectTypeOrBuilder getAspectTypesOrBuilder(int index)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
index int
Returns
Type Description
AspectTypeOrBuilder

getAspectTypesOrBuilderList()

public List<? extends AspectTypeOrBuilder> getAspectTypesOrBuilderList()

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

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

getDefaultInstanceForType()

public ListAspectTypesResponse getDefaultInstanceForType()
Returns
Type Description
ListAspectTypesResponse

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.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAspectTypesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAspectTypes(int index)

public ListAspectTypesResponse.Builder removeAspectTypes(int index)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAspectTypesResponse.Builder

setAspectTypes(int index, AspectType value)

public ListAspectTypesResponse.Builder setAspectTypes(int index, AspectType value)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameters
Name Description
index int
value AspectType
Returns
Type Description
ListAspectTypesResponse.Builder

setAspectTypes(int index, AspectType.Builder builderForValue)

public ListAspectTypesResponse.Builder setAspectTypes(int index, AspectType.Builder builderForValue)

AspectTypes under the given parent location.

repeated .google.cloud.dataplex.v1.AspectType aspect_types = 1;

Parameters
Name Description
index int
builderForValue AspectType.Builder
Returns
Type Description
ListAspectTypesResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setUnreachableLocations(int index, String value)

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

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachableLocations to set.

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.