Class CreatePredictionApiKeyRegistrationRequest.Builder (0.54.0)

public static final class CreatePredictionApiKeyRegistrationRequest.Builder extends GeneratedMessageV3.Builder<CreatePredictionApiKeyRegistrationRequest.Builder> implements CreatePredictionApiKeyRegistrationRequestOrBuilder

Request message for the CreatePredictionApiKeyRegistration method.

Protobuf type google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePredictionApiKeyRegistrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

build()

public CreatePredictionApiKeyRegistrationRequest build()
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest

buildPartial()

public CreatePredictionApiKeyRegistrationRequest buildPartial()
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest

clear()

public CreatePredictionApiKeyRegistrationRequest.Builder clear()
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePredictionApiKeyRegistrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePredictionApiKeyRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

clearParent()

public CreatePredictionApiKeyRegistrationRequest.Builder clearParent()

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

clearPredictionApiKeyRegistration()

public CreatePredictionApiKeyRegistrationRequest.Builder clearPredictionApiKeyRegistration()

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

clone()

public CreatePredictionApiKeyRegistrationRequest.Builder clone()
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePredictionApiKeyRegistrationRequest getDefaultInstanceForType()
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPredictionApiKeyRegistration()

public PredictionApiKeyRegistration getPredictionApiKeyRegistration()

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PredictionApiKeyRegistration

The predictionApiKeyRegistration.

getPredictionApiKeyRegistrationBuilder()

public PredictionApiKeyRegistration.Builder getPredictionApiKeyRegistrationBuilder()

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PredictionApiKeyRegistration.Builder

getPredictionApiKeyRegistrationOrBuilder()

public PredictionApiKeyRegistrationOrBuilder getPredictionApiKeyRegistrationOrBuilder()

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PredictionApiKeyRegistrationOrBuilder

hasPredictionApiKeyRegistration()

public boolean hasPredictionApiKeyRegistration()

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the predictionApiKeyRegistration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreatePredictionApiKeyRegistrationRequest other)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CreatePredictionApiKeyRegistrationRequest other)
Parameter
Name Description
other CreatePredictionApiKeyRegistrationRequest
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

mergePredictionApiKeyRegistration(PredictionApiKeyRegistration value)

public CreatePredictionApiKeyRegistrationRequest.Builder mergePredictionApiKeyRegistration(PredictionApiKeyRegistration value)

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PredictionApiKeyRegistration
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePredictionApiKeyRegistrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePredictionApiKeyRegistrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

setParent(String value)

public CreatePredictionApiKeyRegistrationRequest.Builder setParent(String value)

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreatePredictionApiKeyRegistrationRequest.Builder setParentBytes(ByteString value)

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

setPredictionApiKeyRegistration(PredictionApiKeyRegistration value)

public CreatePredictionApiKeyRegistrationRequest.Builder setPredictionApiKeyRegistration(PredictionApiKeyRegistration value)

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PredictionApiKeyRegistration
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

setPredictionApiKeyRegistration(PredictionApiKeyRegistration.Builder builderForValue)

public CreatePredictionApiKeyRegistrationRequest.Builder setPredictionApiKeyRegistration(PredictionApiKeyRegistration.Builder builderForValue)

Required. The prediction API key registration.

.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration prediction_api_key_registration = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PredictionApiKeyRegistration.Builder
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder

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

public CreatePredictionApiKeyRegistrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePredictionApiKeyRegistrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides