Class PredictionApiKeyRegistration.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder>
com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration.Builder
All Implemented Interfaces:
PredictionApiKeyRegistrationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PredictionApiKeyRegistration

public static final class PredictionApiKeyRegistration.Builder extends com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder> implements PredictionApiKeyRegistrationOrBuilder
 Registered Api Key.
 
Protobuf type google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder>
    • getDefaultInstanceForType

      public PredictionApiKeyRegistration getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PredictionApiKeyRegistration buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PredictionApiKeyRegistration.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictionApiKeyRegistration.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PredictionApiKeyRegistration.Builder>
    • mergeFrom

      public PredictionApiKeyRegistration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictionApiKeyRegistration.Builder>
      Throws:
      IOException
    • getApiKey

      public String getApiKey()
       The API key.
       
      string api_key = 1;
      Specified by:
      getApiKey in interface PredictionApiKeyRegistrationOrBuilder
      Returns:
      The apiKey.
    • getApiKeyBytes

      public com.google.protobuf.ByteString getApiKeyBytes()
       The API key.
       
      string api_key = 1;
      Specified by:
      getApiKeyBytes in interface PredictionApiKeyRegistrationOrBuilder
      Returns:
      The bytes for apiKey.
    • setApiKey

      public PredictionApiKeyRegistration.Builder setApiKey(String value)
       The API key.
       
      string api_key = 1;
      Parameters:
      value - The apiKey to set.
      Returns:
      This builder for chaining.
    • clearApiKey

       The API key.
       
      string api_key = 1;
      Returns:
      This builder for chaining.
    • setApiKeyBytes

      public PredictionApiKeyRegistration.Builder setApiKeyBytes(com.google.protobuf.ByteString value)
       The API key.
       
      string api_key = 1;
      Parameters:
      value - The bytes for apiKey to set.
      Returns:
      This builder for chaining.