Class ListEntitiesResponse.Builder (1.34.0)

public static final class ListEntitiesResponse.Builder extends GeneratedMessageV3.Builder<ListEntitiesResponse.Builder> implements ListEntitiesResponseOrBuilder

List metadata entities response.

Protobuf type google.cloud.dataplex.v1.ListEntitiesResponse

Static Methods

getDescriptor()

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

Methods

addAllEntities(Iterable<? extends Entity> values)

public ListEntitiesResponse.Builder addAllEntities(Iterable<? extends Entity> values)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

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

addEntities(Entity value)

public ListEntitiesResponse.Builder addEntities(Entity value)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
valueEntity
Returns
TypeDescription
ListEntitiesResponse.Builder

addEntities(Entity.Builder builderForValue)

public ListEntitiesResponse.Builder addEntities(Entity.Builder builderForValue)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
builderForValueEntity.Builder
Returns
TypeDescription
ListEntitiesResponse.Builder

addEntities(int index, Entity value)

public ListEntitiesResponse.Builder addEntities(int index, Entity value)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameters
NameDescription
indexint
valueEntity
Returns
TypeDescription
ListEntitiesResponse.Builder

addEntities(int index, Entity.Builder builderForValue)

public ListEntitiesResponse.Builder addEntities(int index, Entity.Builder builderForValue)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameters
NameDescription
indexint
builderForValueEntity.Builder
Returns
TypeDescription
ListEntitiesResponse.Builder

addEntitiesBuilder()

public Entity.Builder addEntitiesBuilder()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Returns
TypeDescription
Entity.Builder

addEntitiesBuilder(int index)

public Entity.Builder addEntitiesBuilder(int index)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEntitiesResponse build()
Returns
TypeDescription
ListEntitiesResponse

buildPartial()

public ListEntitiesResponse buildPartial()
Returns
TypeDescription
ListEntitiesResponse

clear()

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

clearEntities()

public ListEntitiesResponse.Builder clearEntities()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Returns
TypeDescription
ListEntitiesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEntitiesResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListEntitiesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEntitiesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEntitiesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntities(int index)

public Entity getEntities(int index)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity

getEntitiesBuilder(int index)

public Entity.Builder getEntitiesBuilder(int index)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity.Builder

getEntitiesBuilderList()

public List<Entity.Builder> getEntitiesBuilderList()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Returns
TypeDescription
List<Builder>

getEntitiesCount()

public int getEntitiesCount()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Returns
TypeDescription
int

getEntitiesList()

public List<Entity> getEntitiesList()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Returns
TypeDescription
List<Entity>

getEntitiesOrBuilder(int index)

public EntityOrBuilder getEntitiesOrBuilder(int index)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityOrBuilder

getEntitiesOrBuilderList()

public List<? extends EntityOrBuilder> getEntitiesOrBuilderList()

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no remaining 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 remaining results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEntitiesResponse other)

public ListEntitiesResponse.Builder mergeFrom(ListEntitiesResponse other)
Parameter
NameDescription
otherListEntitiesResponse
Returns
TypeDescription
ListEntitiesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntities(int index)

public ListEntitiesResponse.Builder removeEntities(int index)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListEntitiesResponse.Builder

setEntities(int index, Entity value)

public ListEntitiesResponse.Builder setEntities(int index, Entity value)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameters
NameDescription
indexint
valueEntity
Returns
TypeDescription
ListEntitiesResponse.Builder

setEntities(int index, Entity.Builder builderForValue)

public ListEntitiesResponse.Builder setEntities(int index, Entity.Builder builderForValue)

Entities in the specified parent zone.

repeated .google.cloud.dataplex.v1.Entity entities = 1;

Parameters
NameDescription
indexint
builderForValueEntity.Builder
Returns
TypeDescription
ListEntitiesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEntitiesResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListEntitiesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEntitiesResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListEntitiesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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