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
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
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
Returns
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
Returns
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
Returns
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
Returns
addPredictionApiKeyRegistrationsBuilder()
public PredictionApiKeyRegistration.Builder addPredictionApiKeyRegistrationsBuilder()
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPredictionApiKeyRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListPredictionApiKeyRegistrationsResponse build()
Returns
buildPartial()
public ListPredictionApiKeyRegistrationsResponse buildPartial()
Returns
clear()
public ListPredictionApiKeyRegistrationsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPredictionApiKeyRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPredictionApiKeyRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPredictionApiKeyRegistrations()
public ListPredictionApiKeyRegistrationsResponse.Builder clearPredictionApiKeyRegistrations()
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;
Returns
clone()
public ListPredictionApiKeyRegistrationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListPredictionApiKeyRegistrationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getPredictionApiKeyRegistrationsBuilderList()
public List<PredictionApiKeyRegistration.Builder> getPredictionApiKeyRegistrationsBuilderList()
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;
Returns
getPredictionApiKeyRegistrationsCount()
public int getPredictionApiKeyRegistrationsCount()
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;
Returns
getPredictionApiKeyRegistrationsList()
public List<PredictionApiKeyRegistration> getPredictionApiKeyRegistrationsList()
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListPredictionApiKeyRegistrationsResponse other)
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(ListPredictionApiKeyRegistrationsResponse other)
Parameter
Returns
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPredictionApiKeyRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListPredictionApiKeyRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPredictionApiKeyRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPredictionApiKeyRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides