Class ListPredictionApiKeyRegistrationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse.Builder
- All Implemented Interfaces:
ListPredictionApiKeyRegistrationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPredictionApiKeyRegistrationsResponse
public static final class ListPredictionApiKeyRegistrationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
implements ListPredictionApiKeyRegistrationsResponseOrBuilder
Response message for the `ListPredictionApiKeyRegistrations`.Protobuf type
google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPredictionApiKeyRegistrations(Iterable<? extends PredictionApiKeyRegistration> values) The list of registered API keys.addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value) The list of registered API keys.addPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue) The list of registered API keys.The list of registered API keys.addPredictionApiKeyRegistrations(PredictionApiKeyRegistration.Builder builderForValue) The list of registered API keys.The list of registered API keys.addPredictionApiKeyRegistrationsBuilder(int index) The list of registered API keys.build()clear()If empty, the list is complete.The list of registered API keys.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf empty, the list is complete.com.google.protobuf.ByteStringIf empty, the list is complete.getPredictionApiKeyRegistrations(int index) The list of registered API keys.getPredictionApiKeyRegistrationsBuilder(int index) The list of registered API keys.The list of registered API keys.intThe list of registered API keys.The list of registered API keys.getPredictionApiKeyRegistrationsOrBuilder(int index) The list of registered API keys.List<? extends PredictionApiKeyRegistrationOrBuilder>The list of registered API keys.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePredictionApiKeyRegistrations(int index) The list of registered API keys.setNextPageToken(String value) If empty, the list is complete.setNextPageTokenBytes(com.google.protobuf.ByteString value) If empty, the list is complete.setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration value) The list of registered API keys.setPredictionApiKeyRegistrations(int index, PredictionApiKeyRegistration.Builder builderForValue) The list of registered API keys.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
-
mergeFrom
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(ListPredictionApiKeyRegistrationsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>
-
mergeFrom
public ListPredictionApiKeyRegistrationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPredictionApiKeyRegistrationsResponse.Builder>- Throws:
IOException
-
getPredictionApiKeyRegistrationsList
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;- Specified by:
getPredictionApiKeyRegistrationsListin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder
-
getPredictionApiKeyRegistrationsCount
public int getPredictionApiKeyRegistrationsCount()The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;- Specified by:
getPredictionApiKeyRegistrationsCountin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder
-
getPredictionApiKeyRegistrations
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;- Specified by:
getPredictionApiKeyRegistrationsin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder
-
setPredictionApiKeyRegistrations
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; -
setPredictionApiKeyRegistrations
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; -
addPredictionApiKeyRegistrations
public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(PredictionApiKeyRegistration value) The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
addPredictionApiKeyRegistrations
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; -
addPredictionApiKeyRegistrations
public ListPredictionApiKeyRegistrationsResponse.Builder addPredictionApiKeyRegistrations(PredictionApiKeyRegistration.Builder builderForValue) The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
addPredictionApiKeyRegistrations
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; -
addAllPredictionApiKeyRegistrations
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; -
clearPredictionApiKeyRegistrations
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
removePredictionApiKeyRegistrations
public ListPredictionApiKeyRegistrationsResponse.Builder removePredictionApiKeyRegistrations(int index) The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
getPredictionApiKeyRegistrationsBuilder
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
getPredictionApiKeyRegistrationsOrBuilder
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;- Specified by:
getPredictionApiKeyRegistrationsOrBuilderin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder
-
getPredictionApiKeyRegistrationsOrBuilderList
public List<? extends PredictionApiKeyRegistrationOrBuilder> getPredictionApiKeyRegistrationsOrBuilderList()The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1;- Specified by:
getPredictionApiKeyRegistrationsOrBuilderListin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder
-
addPredictionApiKeyRegistrationsBuilder
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
addPredictionApiKeyRegistrationsBuilder
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
getPredictionApiKeyRegistrationsBuilderList
The list of registered API keys.
repeated .google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registrations = 1; -
getNextPageToken
If empty, the list is complete. If nonempty, pass the token to the next request's `ListPredictionApiKeysRegistrationsRequest.pageToken`.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListPredictionApiKeyRegistrationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
If empty, the list is complete. If nonempty, pass the token to the next request's `ListPredictionApiKeysRegistrationsRequest.pageToken`.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPredictionApiKeyRegistrationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-