Class FetchExamplesResponse.Builder (3.84.0)

public static final class FetchExamplesResponse.Builder extends GeneratedMessage.Builder<FetchExamplesResponse.Builder> implements FetchExamplesResponseOrBuilder

Response message for ExampleStoreService.FetchExamples.

Protobuf type google.cloud.aiplatform.v1beta1.FetchExamplesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExamples(Iterable<? extends Example> values)

public FetchExamplesResponse.Builder addAllExamples(Iterable<? extends Example> values)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Example>
Returns
Type Description
FetchExamplesResponse.Builder

addExamples(Example value)

public FetchExamplesResponse.Builder addExamples(Example value)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
value Example
Returns
Type Description
FetchExamplesResponse.Builder

addExamples(Example.Builder builderForValue)

public FetchExamplesResponse.Builder addExamples(Example.Builder builderForValue)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
builderForValue Example.Builder
Returns
Type Description
FetchExamplesResponse.Builder

addExamples(int index, Example value)

public FetchExamplesResponse.Builder addExamples(int index, Example value)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameters
Name Description
index int
value Example
Returns
Type Description
FetchExamplesResponse.Builder

addExamples(int index, Example.Builder builderForValue)

public FetchExamplesResponse.Builder addExamples(int index, Example.Builder builderForValue)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
FetchExamplesResponse.Builder

addExamplesBuilder()

public Example.Builder addExamplesBuilder()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
Example.Builder

addExamplesBuilder(int index)

public Example.Builder addExamplesBuilder(int index)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

build()

public FetchExamplesResponse build()
Returns
Type Description
FetchExamplesResponse

buildPartial()

public FetchExamplesResponse buildPartial()
Returns
Type Description
FetchExamplesResponse

clear()

public FetchExamplesResponse.Builder clear()
Returns
Type Description
FetchExamplesResponse.Builder
Overrides

clearExamples()

public FetchExamplesResponse.Builder clearExamples()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
FetchExamplesResponse.Builder

clearNextPageToken()

public FetchExamplesResponse.Builder clearNextPageToken()

A token, which can be sent as [FetchExamplesRequest.page_token][] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
FetchExamplesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchExamplesResponse getDefaultInstanceForType()
Returns
Type Description
FetchExamplesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExamples(int index)

public Example getExamples(int index)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example

getExamplesBuilder(int index)

public Example.Builder getExamplesBuilder(int index)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

getExamplesBuilderList()

public List<Example.Builder> getExamplesBuilderList()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
List<Builder>

getExamplesCount()

public int getExamplesCount()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
int

getExamplesList()

public List<Example> getExamplesList()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
List<Example>

getExamplesOrBuilder(int index)

public ExampleOrBuilder getExamplesOrBuilder(int index)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
ExampleOrBuilder

getExamplesOrBuilderList()

public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ExampleOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as [FetchExamplesRequest.page_token][] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as [FetchExamplesRequest.page_token][] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchExamplesResponse other)

public FetchExamplesResponse.Builder mergeFrom(FetchExamplesResponse other)
Parameter
Name Description
other FetchExamplesResponse
Returns
Type Description
FetchExamplesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchExamplesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchExamplesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchExamplesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchExamplesResponse.Builder
Overrides

removeExamples(int index)

public FetchExamplesResponse.Builder removeExamples(int index)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchExamplesResponse.Builder

setExamples(int index, Example value)

public FetchExamplesResponse.Builder setExamples(int index, Example value)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameters
Name Description
index int
value Example
Returns
Type Description
FetchExamplesResponse.Builder

setExamples(int index, Example.Builder builderForValue)

public FetchExamplesResponse.Builder setExamples(int index, Example.Builder builderForValue)

The examples in the Example Store that satisfy the metadata filters.

repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
FetchExamplesResponse.Builder

setNextPageToken(String value)

public FetchExamplesResponse.Builder setNextPageToken(String value)

A token, which can be sent as [FetchExamplesRequest.page_token][] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchExamplesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchExamplesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as [FetchExamplesRequest.page_token][] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchExamplesResponse.Builder

This builder for chaining.