Class DescribeDatabaseEntitiesResponse.Builder (2.27.0)

public static final class DescribeDatabaseEntitiesResponse.Builder extends GeneratedMessageV3.Builder<DescribeDatabaseEntitiesResponse.Builder> implements DescribeDatabaseEntitiesResponseOrBuilder

Response message for 'DescribeDatabaseEntities' request.

Protobuf type google.cloud.clouddms.v1.DescribeDatabaseEntitiesResponse

Static Methods

getDescriptor()

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

Methods

addAllDatabaseEntities(Iterable<? extends DatabaseEntity> values)

public DescribeDatabaseEntitiesResponse.Builder addAllDatabaseEntities(Iterable<? extends DatabaseEntity> values)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.clouddms.v1.DatabaseEntity>
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

addDatabaseEntities(DatabaseEntity value)

public DescribeDatabaseEntitiesResponse.Builder addDatabaseEntities(DatabaseEntity value)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
valueDatabaseEntity
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

addDatabaseEntities(DatabaseEntity.Builder builderForValue)

public DescribeDatabaseEntitiesResponse.Builder addDatabaseEntities(DatabaseEntity.Builder builderForValue)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
builderForValueDatabaseEntity.Builder
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

addDatabaseEntities(int index, DatabaseEntity value)

public DescribeDatabaseEntitiesResponse.Builder addDatabaseEntities(int index, DatabaseEntity value)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameters
NameDescription
indexint
valueDatabaseEntity
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

addDatabaseEntities(int index, DatabaseEntity.Builder builderForValue)

public DescribeDatabaseEntitiesResponse.Builder addDatabaseEntities(int index, DatabaseEntity.Builder builderForValue)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameters
NameDescription
indexint
builderForValueDatabaseEntity.Builder
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

addDatabaseEntitiesBuilder()

public DatabaseEntity.Builder addDatabaseEntitiesBuilder()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
DatabaseEntity.Builder

addDatabaseEntitiesBuilder(int index)

public DatabaseEntity.Builder addDatabaseEntitiesBuilder(int index)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntity.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DescribeDatabaseEntitiesResponse build()
Returns
TypeDescription
DescribeDatabaseEntitiesResponse

buildPartial()

public DescribeDatabaseEntitiesResponse buildPartial()
Returns
TypeDescription
DescribeDatabaseEntitiesResponse

clear()

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

clearDatabaseEntities()

public DescribeDatabaseEntitiesResponse.Builder clearDatabaseEntities()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public DescribeDatabaseEntitiesResponse.Builder clearNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabaseEntities(int index)

public DatabaseEntity getDatabaseEntities(int index)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntity

getDatabaseEntitiesBuilder(int index)

public DatabaseEntity.Builder getDatabaseEntitiesBuilder(int index)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntity.Builder

getDatabaseEntitiesBuilderList()

public List<DatabaseEntity.Builder> getDatabaseEntitiesBuilderList()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
List<Builder>

getDatabaseEntitiesCount()

public int getDatabaseEntitiesCount()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
int

getDatabaseEntitiesList()

public List<DatabaseEntity> getDatabaseEntitiesList()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
List<DatabaseEntity>

getDatabaseEntitiesOrBuilder(int index)

public DatabaseEntityOrBuilder getDatabaseEntitiesOrBuilder(int index)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntityOrBuilder

getDatabaseEntitiesOrBuilderList()

public List<? extends DatabaseEntityOrBuilder> getDatabaseEntitiesOrBuilderList()

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Returns
TypeDescription
List<? extends com.google.cloud.clouddms.v1.DatabaseEntityOrBuilder>

getDefaultInstanceForType()

public DescribeDatabaseEntitiesResponse getDefaultInstanceForType()
Returns
TypeDescription
DescribeDatabaseEntitiesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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

public DescribeDatabaseEntitiesResponse.Builder mergeFrom(DescribeDatabaseEntitiesResponse other)
Parameter
NameDescription
otherDescribeDatabaseEntitiesResponse
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDatabaseEntities(int index)

public DescribeDatabaseEntitiesResponse.Builder removeDatabaseEntities(int index)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

setDatabaseEntities(int index, DatabaseEntity value)

public DescribeDatabaseEntitiesResponse.Builder setDatabaseEntities(int index, DatabaseEntity value)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameters
NameDescription
indexint
valueDatabaseEntity
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

setDatabaseEntities(int index, DatabaseEntity.Builder builderForValue)

public DescribeDatabaseEntitiesResponse.Builder setDatabaseEntities(int index, DatabaseEntity.Builder builderForValue)

The list of database entities for the conversion workspace.

repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1;

Parameters
NameDescription
indexint
builderForValueDatabaseEntity.Builder
Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public DescribeDatabaseEntitiesResponse.Builder setNextPageToken(String value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public DescribeDatabaseEntitiesResponse.Builder setNextPageTokenBytes(ByteString value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
DescribeDatabaseEntitiesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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