Class ListSavedQueriesResponse.Builder (3.34.0)

public static final class ListSavedQueriesResponse.Builder extends GeneratedMessageV3.Builder<ListSavedQueriesResponse.Builder> implements ListSavedQueriesResponseOrBuilder

Response message for DatasetService.ListSavedQueries.

Protobuf type google.cloud.aiplatform.v1beta1.ListSavedQueriesResponse

Static Methods

getDescriptor()

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

Methods

addAllSavedQueries(Iterable<? extends SavedQuery> values)

public ListSavedQueriesResponse.Builder addAllSavedQueries(Iterable<? extends SavedQuery> values)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.SavedQuery>
Returns
TypeDescription
ListSavedQueriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSavedQueries(SavedQuery value)

public ListSavedQueriesResponse.Builder addSavedQueries(SavedQuery value)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
valueSavedQuery
Returns
TypeDescription
ListSavedQueriesResponse.Builder

addSavedQueries(SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder addSavedQueries(SavedQuery.Builder builderForValue)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
builderForValueSavedQuery.Builder
Returns
TypeDescription
ListSavedQueriesResponse.Builder

addSavedQueries(int index, SavedQuery value)

public ListSavedQueriesResponse.Builder addSavedQueries(int index, SavedQuery value)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameters
NameDescription
indexint
valueSavedQuery
Returns
TypeDescription
ListSavedQueriesResponse.Builder

addSavedQueries(int index, SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder addSavedQueries(int index, SavedQuery.Builder builderForValue)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameters
NameDescription
indexint
builderForValueSavedQuery.Builder
Returns
TypeDescription
ListSavedQueriesResponse.Builder

addSavedQueriesBuilder()

public SavedQuery.Builder addSavedQueriesBuilder()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
SavedQuery.Builder

addSavedQueriesBuilder(int index)

public SavedQuery.Builder addSavedQueriesBuilder(int index)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQuery.Builder

build()

public ListSavedQueriesResponse build()
Returns
TypeDescription
ListSavedQueriesResponse

buildPartial()

public ListSavedQueriesResponse buildPartial()
Returns
TypeDescription
ListSavedQueriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSavedQueriesResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListSavedQueriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSavedQueries()

public ListSavedQueriesResponse.Builder clearSavedQueries()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
ListSavedQueriesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSavedQueriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSavedQueriesResponse

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.

getSavedQueries(int index)

public SavedQuery getSavedQueries(int index)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQuery

getSavedQueriesBuilder(int index)

public SavedQuery.Builder getSavedQueriesBuilder(int index)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQuery.Builder

getSavedQueriesBuilderList()

public List<SavedQuery.Builder> getSavedQueriesBuilderList()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
List<Builder>

getSavedQueriesCount()

public int getSavedQueriesCount()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
int

getSavedQueriesList()

public List<SavedQuery> getSavedQueriesList()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
List<SavedQuery>

getSavedQueriesOrBuilder(int index)

public SavedQueryOrBuilder getSavedQueriesOrBuilder(int index)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQueryOrBuilder

getSavedQueriesOrBuilderList()

public List<? extends SavedQueryOrBuilder> getSavedQueriesOrBuilderList()

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.SavedQueryOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSavedQueriesResponse other)

public ListSavedQueriesResponse.Builder mergeFrom(ListSavedQueriesResponse other)
Parameter
NameDescription
otherListSavedQueriesResponse
Returns
TypeDescription
ListSavedQueriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSavedQueries(int index)

public ListSavedQueriesResponse.Builder removeSavedQueries(int index)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSavedQueriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSavedQueriesResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListSavedQueriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSavedQueriesResponse.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
ListSavedQueriesResponse.Builder

This builder for chaining.

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

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

setSavedQueries(int index, SavedQuery value)

public ListSavedQueriesResponse.Builder setSavedQueries(int index, SavedQuery value)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameters
NameDescription
indexint
valueSavedQuery
Returns
TypeDescription
ListSavedQueriesResponse.Builder

setSavedQueries(int index, SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder setSavedQueries(int index, SavedQuery.Builder builderForValue)

A list of SavedQueries that match the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1;

Parameters
NameDescription
indexint
builderForValueSavedQuery.Builder
Returns
TypeDescription
ListSavedQueriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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