Class ListPredictionApiKeyRegistrationsResponse.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration>
Returns
TypeDescription
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
NameDescription
valuePredictionApiKeyRegistration
Returns
TypeDescription
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
NameDescription
builderForValuePredictionApiKeyRegistration.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePredictionApiKeyRegistration
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePredictionApiKeyRegistration.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PredictionApiKeyRegistration.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPredictionApiKeyRegistrationsResponse build()
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse

buildPartial()

public ListPredictionApiKeyRegistrationsResponse buildPartial()
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPredictionApiKeyRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPredictionApiKeyRegistrationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPredictionApiKeyRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListPredictionApiKeyRegistrationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPredictionApiKeyRegistrationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getPredictionApiKeyRegistrationsCount()

public int getPredictionApiKeyRegistrationsCount()

The list of registered API keys.

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

Returns
TypeDescription
int

getPredictionApiKeyRegistrationsList()

public List<PredictionApiKeyRegistration> getPredictionApiKeyRegistrationsList()

The list of registered API keys.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPredictionApiKeyRegistrationsResponse other)

public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(ListPredictionApiKeyRegistrationsResponse other)
Parameter
NameDescription
otherListPredictionApiKeyRegistrationsResponse
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPredictionApiKeyRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPredictionApiKeyRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePredictionApiKeyRegistration
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePredictionApiKeyRegistration.Builder
Returns
TypeDescription
ListPredictionApiKeyRegistrationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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