public static final class ListContextsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListContextsResponse.Builder> implements ListContextsResponseOrBuilder
Response message for [MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts].Protobuf type
google.cloud.aiplatform.v1.ListContextsResponse| Modifier and Type | Method and Description |
|---|---|
ListContextsResponse.Builder |
addAllContexts(Iterable<? extends Context> values)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
addContexts(Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
addContexts(Context value)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
addContexts(int index,
Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
addContexts(int index,
Context value)
The Contexts retrieved from the MetadataStore.
|
Context.Builder |
addContextsBuilder()
The Contexts retrieved from the MetadataStore.
|
Context.Builder |
addContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse |
build() |
ListContextsResponse |
buildPartial() |
ListContextsResponse.Builder |
clear() |
ListContextsResponse.Builder |
clearContexts()
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
clearNextPageToken()
A token, which can be sent as
[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token]
to retrieve the next page.
|
Context |
getContexts(int index)
The Contexts retrieved from the MetadataStore.
|
Context.Builder |
getContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
|
List<Context.Builder> |
getContextsBuilderList()
The Contexts retrieved from the MetadataStore.
|
int |
getContextsCount()
The Contexts retrieved from the MetadataStore.
|
List<Context> |
getContextsList()
The Contexts retrieved from the MetadataStore.
|
ContextOrBuilder |
getContextsOrBuilder(int index)
The Contexts retrieved from the MetadataStore.
|
List<? extends ContextOrBuilder> |
getContextsOrBuilderList()
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as
[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token]
to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as
[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token]
to retrieve the next page.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListContextsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListContextsResponse.Builder |
mergeFrom(ListContextsResponse other) |
ListContextsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListContextsResponse.Builder |
removeContexts(int index)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
setContexts(int index,
Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
setContexts(int index,
Context value)
The Contexts retrieved from the MetadataStore.
|
ListContextsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as
[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token]
to retrieve the next page.
|
ListContextsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as
[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token]
to retrieve the next page.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListContextsResponse.Builder>public ListContextsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListContextsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListContextsResponse.Builder>public ListContextsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListContextsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListContextsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListContextsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListContextsResponse.Builder>public ListContextsResponse.Builder mergeFrom(ListContextsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListContextsResponse.Builder>public ListContextsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListContextsResponse.Builder>IOExceptionpublic List<Context> getContextsList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;getContextsList in interface ListContextsResponseOrBuilderpublic int getContextsCount()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;getContextsCount in interface ListContextsResponseOrBuilderpublic Context getContexts(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;getContexts in interface ListContextsResponseOrBuilderpublic ListContextsResponse.Builder setContexts(int index, Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder setContexts(int index, Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder addContexts(Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder addContexts(int index, Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder addContexts(Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder addContexts(int index, Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder addAllContexts(Iterable<? extends Context> values)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder clearContexts()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ListContextsResponse.Builder removeContexts(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public Context.Builder getContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public ContextOrBuilder getContextsOrBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;getContextsOrBuilder in interface ListContextsResponseOrBuilderpublic List<? extends ContextOrBuilder> getContextsOrBuilderList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;getContextsOrBuilderList in interface ListContextsResponseOrBuilderpublic Context.Builder addContextsBuilder()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public Context.Builder addContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public List<Context.Builder> getContextsBuilderList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;public String getNextPageToken()
A token, which can be sent as [ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token] to retrieve the next page. If this field is not populated, there are no subsequent pages.
string next_page_token = 2;getNextPageToken in interface ListContextsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as [ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token] to retrieve the next page. If this field is not populated, there are no subsequent pages.
string next_page_token = 2;getNextPageTokenBytes in interface ListContextsResponseOrBuilderpublic ListContextsResponse.Builder setNextPageToken(String value)
A token, which can be sent as [ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token] to retrieve the next page. If this field is not populated, there are no subsequent pages.
string next_page_token = 2;value - The nextPageToken to set.public ListContextsResponse.Builder clearNextPageToken()
A token, which can be sent as [ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token] to retrieve the next page. If this field is not populated, there are no subsequent pages.
string next_page_token = 2;public ListContextsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as [ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token] to retrieve the next page. If this field is not populated, there are no subsequent pages.
string next_page_token = 2;value - The bytes for nextPageToken to set.Copyright © 2026 Google LLC. All rights reserved.