Class ListPredictionApiKeyRegistrationsResponse.Builder (0.51.0)

public static final class ListPredictionApiKeyRegistrationsResponse.Builder extends GeneratedMessageV3.Builder<ListPredictionApiKeyRegistrationsResponse.Builder> implements ListPredictionApiKeyRegistrationsResponseOrBuilder

Response message for the ListPredictionApiKeyRegistrations.

Protobuf type google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse

Static Methods

getDescriptor()

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

Methods

addAllPredictionApiKeyRegistrations(Iterable<? extends PredictionApiKeyRegistration> values)

public ListPredictionApiKeyRegistrationsResponse.Builder addAllPredictionApiKeyRegistrations(Iterable<? extends PredictionApiKeyRegistration> values)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration>
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

addPredictionApiKeyRegistrations(PredictionApiKeyRegistration value)

public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(PredictionApiKeyRegistration value)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
value PredictionApiKeyRegistration
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

addPredictionApiKeyRegistrations(PredictionApiKeyRegistration.Builder builderForValue)

public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(PredictionApiKeyRegistration.Builder builderForValue)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
builderForValue PredictionApiKeyRegistration.Builder
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value)

public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameters
Name Description
index int
value PredictionApiKeyRegistration
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue)

public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameters
Name Description
index int
builderForValue PredictionApiKeyRegistration.Builder
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

addPredictionApiKeyRegistrationsBuilder()

public PredictionApiKeyRegistration.Builder addPredictionApiKeyRegistrationsBuilder()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
PredictionApiKeyRegistration.Builder

addPredictionApiKeyRegistrationsBuilder(int index)

public PredictionApiKeyRegistration.Builder addPredictionApiKeyRegistrationsBuilder(int index)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
index int
Returns
Type Description
PredictionApiKeyRegistration.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPredictionApiKeyRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

build()

public ListPredictionApiKeyRegistrationsResponse build()
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse

buildPartial()

public ListPredictionApiKeyRegistrationsResponse buildPartial()
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPredictionApiKeyRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

clearNextPageToken()

public ListPredictionApiKeyRegistrationsResponse.Builder clearNextPageToken()

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken.

string next_page_token = 2;

Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPredictionApiKeyRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

clearPredictionApiKeyRegistrations()

public ListPredictionApiKeyRegistrationsResponse.Builder clearPredictionApiKeyRegistrations()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

clone()

public ListPredictionApiKeyRegistrationsResponse.Builder clone()
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPredictionApiKeyRegistrationsResponse getDefaultInstanceForType()
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPredictionApiKeyRegistrations(int index)

public PredictionApiKeyRegistration getPredictionApiKeyRegistrations(int index)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
index int
Returns
Type Description
PredictionApiKeyRegistration

getPredictionApiKeyRegistrationsBuilder(int index)

public PredictionApiKeyRegistration.Builder getPredictionApiKeyRegistrationsBuilder(int index)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
index int
Returns
Type Description
PredictionApiKeyRegistration.Builder

getPredictionApiKeyRegistrationsBuilderList()

public List<PredictionApiKeyRegistration.Builder> getPredictionApiKeyRegistrationsBuilderList()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
List<Builder>

getPredictionApiKeyRegistrationsCount()

public int getPredictionApiKeyRegistrationsCount()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
int

getPredictionApiKeyRegistrationsList()

public List<PredictionApiKeyRegistration> getPredictionApiKeyRegistrationsList()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
List<PredictionApiKeyRegistration>

getPredictionApiKeyRegistrationsOrBuilder(int index)

public PredictionApiKeyRegistrationOrBuilder getPredictionApiKeyRegistrationsOrBuilder(int index)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
index int
Returns
Type Description
PredictionApiKeyRegistrationOrBuilder

getPredictionApiKeyRegistrationsOrBuilderList()

public List<? extends PredictionApiKeyRegistrationOrBuilder> getPredictionApiKeyRegistrationsOrBuilderList()

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Returns
Type Description
List<? extends com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPredictionApiKeyRegistrationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPredictionApiKeyRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

removePredictionApiKeyRegistrations(int index)

public ListPredictionApiKeyRegistrationsResponse.Builder removePredictionApiKeyRegistrations(int index)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPredictionApiKeyRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListPredictionApiKeyRegistrationsResponse.Builder setNextPageToken(String value)

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPredictionApiKeyRegistrationsResponse.Builder setNextPageTokenBytes(ByteString value)

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

This builder for chaining.

setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value)

public ListPredictionApiKeyRegistrationsResponse.Builder setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameters
Name Description
index int
value PredictionApiKeyRegistration
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue)

public ListPredictionApiKeyRegistrationsResponse.Builder setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue)

The list of registered API keys.

repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;

Parameters
Name Description
index int
builderForValue PredictionApiKeyRegistration.Builder
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder

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

public ListPredictionApiKeyRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPredictionApiKeyRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPredictionApiKeyRegistrationsResponse.Builder
Overrides