public static final class PredictionApiKeyRegistration.Builder extends GeneratedMessageV3.Builder<PredictionApiKeyRegistration.Builder> implements PredictionApiKeyRegistrationOrBuilder
Registered Api Key.
Protobuf type google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PredictionApiKeyRegistration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PredictionApiKeyRegistration build()
buildPartial()
public PredictionApiKeyRegistration buildPartial()
clear()
public PredictionApiKeyRegistration.Builder clear()
Overrides
clearApiKey()
public PredictionApiKeyRegistration.Builder clearApiKey()
The API key.
string api_key = 1;
clearField(Descriptors.FieldDescriptor field)
public PredictionApiKeyRegistration.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PredictionApiKeyRegistration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PredictionApiKeyRegistration.Builder clone()
Overrides
getApiKey()
public String getApiKey()
The API key.
string api_key = 1;
Returns |
---|
Type | Description |
String | The apiKey.
|
getApiKeyBytes()
public ByteString getApiKeyBytes()
The API key.
string api_key = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for apiKey.
|
getDefaultInstanceForType()
public PredictionApiKeyRegistration getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PredictionApiKeyRegistration other)
public PredictionApiKeyRegistration.Builder mergeFrom(PredictionApiKeyRegistration other)
public PredictionApiKeyRegistration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PredictionApiKeyRegistration.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PredictionApiKeyRegistration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setApiKey(String value)
public PredictionApiKeyRegistration.Builder setApiKey(String value)
The API key.
string api_key = 1;
Parameter |
---|
Name | Description |
value | String
The apiKey to set.
|
setApiKeyBytes(ByteString value)
public PredictionApiKeyRegistration.Builder setApiKeyBytes(ByteString value)
The API key.
string api_key = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for apiKey to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PredictionApiKeyRegistration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PredictionApiKeyRegistration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PredictionApiKeyRegistration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides