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

The unreachableLocations to add.

Returns
TypeDescription
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
NameDescription
valueAspectType
Returns
TypeDescription
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
NameDescription
builderForValueAspectType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAspectType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAspectType.Builder
Returns
TypeDescription
ListAspectTypesResponse.Builder

addAspectTypesBuilder()

public AspectType.Builder addAspectTypesBuilder()

ListAspectTypes under the given parent location.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListAspectTypesResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

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

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListAspectTypesResponse.Builder

This builder for chaining.

build()

public ListAspectTypesResponse build()
Returns
TypeDescription
ListAspectTypesResponse

buildPartial()

public ListAspectTypesResponse buildPartial()
Returns
TypeDescription
ListAspectTypesResponse

clear()

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

clearAspectTypes()

public ListAspectTypesResponse.Builder clearAspectTypes()

ListAspectTypes under the given parent location.

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

Returns
TypeDescription
ListAspectTypesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListAspectTypesResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListAspectTypesResponse.Builder

This builder for chaining.

clone()

public ListAspectTypesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AspectType.Builder

getAspectTypesBuilderList()

public List<AspectType.Builder> getAspectTypesBuilderList()

ListAspectTypes under the given parent location.

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

Returns
TypeDescription
List<Builder>

getAspectTypesCount()

public int getAspectTypesCount()

ListAspectTypes under the given parent location.

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

Returns
TypeDescription
int

getAspectTypesList()

public List<AspectType> getAspectTypesList()

ListAspectTypes under the given parent location.

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

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

getAspectTypesOrBuilderList()

public List<? extends AspectTypeOrBuilder> getAspectTypesOrBuilderList()

ListAspectTypes under the given parent location.

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

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

getDefaultInstanceForType()

public ListAspectTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAspectTypesResponse

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

public ListAspectTypesResponse.Builder mergeFrom(ListAspectTypesResponse other)
Parameter
NameDescription
otherListAspectTypesResponse
Returns
TypeDescription
ListAspectTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAspectTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAspectType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAspectType.Builder
Returns
TypeDescription
ListAspectTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListAspectTypesResponse.Builder

This builder for chaining.