Class ListAspectTypesResponse.Builder (1.40.0)

public static final class ListAspectTypesResponse.Builder extends GeneratedMessageV3.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)

ListAspectTypes 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 could not be reached.

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)

ListAspectTypes 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)

ListAspectTypes 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)

ListAspectTypes 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)

ListAspectTypes 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()

ListAspectTypes 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)

ListAspectTypes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
AspectType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListAspectTypesResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

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 could not be reached.

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()

ListAspectTypes under the given parent location.

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

Returns
Type Description
ListAspectTypesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListAspectTypesResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ListAspectTypesResponse.Builder

This builder for chaining.

clone()

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

getAspectTypes(int index)

public AspectType getAspectTypes(int index)

ListAspectTypes 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)

ListAspectTypes 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()

ListAspectTypes under the given parent location.

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

Returns
Type Description
List<Builder>

getAspectTypesCount()

public int getAspectTypesCount()

ListAspectTypes under the given parent location.

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

Returns
Type Description
int

getAspectTypesList()

public List<AspectType> getAspectTypesList()

ListAspectTypes 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)

ListAspectTypes 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()

ListAspectTypes 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 could not be reached.

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 could not be reached.

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 could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAspectTypes(int index)

public ListAspectTypesResponse.Builder removeAspectTypes(int index)

ListAspectTypes 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)

ListAspectTypes 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)

ListAspectTypes 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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachableLocations(int index, String value)

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

Locations that could not be reached.

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.