public static final class ListContextsResponse.Builder extends GeneratedMessageV3.Builder<ListContextsResponse.Builder> implements ListContextsResponseOrBuilder
Response message for MetadataService.ListContexts.
Protobuf type google.cloud.aiplatform.v1.ListContextsResponse
Methods
addAllContexts(Iterable<? extends Context> values)
public ListContextsResponse.Builder addAllContexts(Iterable<? extends Context> values)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.Context>
|
Returns
addContexts(Context value)
public ListContextsResponse.Builder addContexts(Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
addContexts(Context.Builder builderForValue)
public ListContextsResponse.Builder addContexts(Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
addContexts(int index, Context value)
public ListContextsResponse.Builder addContexts(int index, Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameters
Returns
addContexts(int index, Context.Builder builderForValue)
public ListContextsResponse.Builder addContexts(int index, Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameters
Returns
addContextsBuilder()
public Context.Builder addContextsBuilder()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
addContextsBuilder(int index)
public Context.Builder addContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListContextsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListContextsResponse build()
Returns
buildPartial()
public ListContextsResponse buildPartial()
Returns
clear()
public ListContextsResponse.Builder clear()
Returns
Overrides
clearContexts()
public ListContextsResponse.Builder clearContexts()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListContextsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListContextsResponse.Builder clearNextPageToken()
A token, which can be sent as ListContextsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListContextsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListContextsResponse.Builder clone()
Returns
Overrides
getContexts(int index)
public Context getContexts(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
getContextsBuilder(int index)
public Context.Builder getContextsBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
getContextsBuilderList()
public List<Context.Builder> getContextsBuilderList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
getContextsCount()
public int getContextsCount()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
getContextsList()
public List<Context> getContextsList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
getContextsOrBuilder(int index)
public ContextOrBuilder getContextsOrBuilder(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
getContextsOrBuilderList()
public List<? extends ContextOrBuilder> getContextsOrBuilderList()
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.ContextOrBuilder> | |
getDefaultInstanceForType()
public ListContextsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as ListContextsRequest.page_token
to retrieve the next page.
If this field is not populated, 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 ListContextsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListContextsResponse other)
public ListContextsResponse.Builder mergeFrom(ListContextsResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListContextsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListContextsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListContextsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeContexts(int index)
public ListContextsResponse.Builder removeContexts(int index)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameter
Returns
setContexts(int index, Context value)
public ListContextsResponse.Builder setContexts(int index, Context value)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameters
Returns
setContexts(int index, Context.Builder builderForValue)
public ListContextsResponse.Builder setContexts(int index, Context.Builder builderForValue)
The Contexts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Context contexts = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListContextsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListContextsResponse.Builder setNextPageToken(String value)
A token, which can be sent as ListContextsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListContextsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as ListContextsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListContextsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListContextsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides