Class ListDatasetVersionsResponse.Builder (3.30.0)

public static final class ListDatasetVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListDatasetVersionsResponse.Builder> implements ListDatasetVersionsResponseOrBuilder

Response message for DatasetService.ListDatasetVersions.

Protobuf type google.cloud.aiplatform.v1.ListDatasetVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllDatasetVersions(Iterable<? extends DatasetVersion> values)

public ListDatasetVersionsResponse.Builder addAllDatasetVersions(Iterable<? extends DatasetVersion> values)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.DatasetVersion>
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

addDatasetVersions(DatasetVersion value)

public ListDatasetVersionsResponse.Builder addDatasetVersions(DatasetVersion value)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
valueDatasetVersion
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

addDatasetVersions(DatasetVersion.Builder builderForValue)

public ListDatasetVersionsResponse.Builder addDatasetVersions(DatasetVersion.Builder builderForValue)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
builderForValueDatasetVersion.Builder
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

addDatasetVersions(int index, DatasetVersion value)

public ListDatasetVersionsResponse.Builder addDatasetVersions(int index, DatasetVersion value)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameters
NameDescription
indexint
valueDatasetVersion
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

addDatasetVersions(int index, DatasetVersion.Builder builderForValue)

public ListDatasetVersionsResponse.Builder addDatasetVersions(int index, DatasetVersion.Builder builderForValue)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameters
NameDescription
indexint
builderForValueDatasetVersion.Builder
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

addDatasetVersionsBuilder()

public DatasetVersion.Builder addDatasetVersionsBuilder()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
DatasetVersion.Builder

addDatasetVersionsBuilder(int index)

public DatasetVersion.Builder addDatasetVersionsBuilder(int index)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatasetVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatasetVersionsResponse build()
Returns
TypeDescription
ListDatasetVersionsResponse

buildPartial()

public ListDatasetVersionsResponse buildPartial()
Returns
TypeDescription
ListDatasetVersionsResponse

clear()

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

clearDatasetVersions()

public ListDatasetVersionsResponse.Builder clearDatasetVersions()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
ListDatasetVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatasetVersionsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListDatasetVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatasetVersions(int index)

public DatasetVersion getDatasetVersions(int index)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatasetVersion

getDatasetVersionsBuilder(int index)

public DatasetVersion.Builder getDatasetVersionsBuilder(int index)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatasetVersion.Builder

getDatasetVersionsBuilderList()

public List<DatasetVersion.Builder> getDatasetVersionsBuilderList()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
List<Builder>

getDatasetVersionsCount()

public int getDatasetVersionsCount()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
int

getDatasetVersionsList()

public List<DatasetVersion> getDatasetVersionsList()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
List<DatasetVersion>

getDatasetVersionsOrBuilder(int index)

public DatasetVersionOrBuilder getDatasetVersionsOrBuilder(int index)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatasetVersionOrBuilder

getDatasetVersionsOrBuilderList()

public List<? extends DatasetVersionOrBuilder> getDatasetVersionsOrBuilderList()

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.DatasetVersionOrBuilder>

getDefaultInstanceForType()

public ListDatasetVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatasetVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

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

public ListDatasetVersionsResponse.Builder mergeFrom(ListDatasetVersionsResponse other)
Parameter
NameDescription
otherListDatasetVersionsResponse
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDatasetVersions(int index)

public ListDatasetVersionsResponse.Builder removeDatasetVersions(int index)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

setDatasetVersions(int index, DatasetVersion value)

public ListDatasetVersionsResponse.Builder setDatasetVersions(int index, DatasetVersion value)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameters
NameDescription
indexint
valueDatasetVersion
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

setDatasetVersions(int index, DatasetVersion.Builder builderForValue)

public ListDatasetVersionsResponse.Builder setDatasetVersions(int index, DatasetVersion.Builder builderForValue)

A list of DatasetVersions that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.DatasetVersion dataset_versions = 1;

Parameters
NameDescription
indexint
builderForValueDatasetVersion.Builder
Returns
TypeDescription
ListDatasetVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatasetVersionsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListDatasetVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDatasetVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListDatasetVersionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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