public static final class FetchExamplesResponse.Builder extends GeneratedMessageV3.Builder<FetchExamplesResponse.Builder> implements FetchExamplesResponseOrBuilder
Response message for
ExampleStoreService.FetchExamples.
Protobuf type google.cloud.aiplatform.v1beta1.FetchExamplesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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
|
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;
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
|
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;
public Example.Builder addExamplesBuilder()
The examples in the Example Store that satisfy the metadata filters.
repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
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
|
public FetchExamplesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FetchExamplesResponse build()
public FetchExamplesResponse buildPartial()
public FetchExamplesResponse.Builder clear()
Overrides
public FetchExamplesResponse.Builder clearExamples()
The examples in the Example Store that satisfy the metadata filters.
repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
public FetchExamplesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public FetchExamplesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public FetchExamplesResponse.Builder clone()
Overrides
public FetchExamplesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
public List<Example.Builder> getExamplesBuilderList()
The examples in the Example Store that satisfy the metadata filters.
repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
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 |
|
public List<Example> getExamplesList()
The examples in the Example Store that satisfy the metadata filters.
repeated .google.cloud.aiplatform.v1beta1.Example examples = 1;
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
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FetchExamplesResponse.Builder mergeFrom(FetchExamplesResponse other)
public FetchExamplesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FetchExamplesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final FetchExamplesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|
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;
public FetchExamplesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public FetchExamplesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final FetchExamplesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides