Class CreatePredictionApiKeyRegistrationRequest.Builder (0.46.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePredictionApiKeyRegistrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

build()

public CreatePredictionApiKeyRegistrationRequest build()
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest

buildPartial()

public CreatePredictionApiKeyRegistrationRequest buildPartial()
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest

clear()

public CreatePredictionApiKeyRegistrationRequest.Builder clear()
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePredictionApiKeyRegistrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePredictionApiKeyRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder

clone()

public CreatePredictionApiKeyRegistrationRequest.Builder clone()
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePredictionApiKeyRegistrationRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the predictionApiKeyRegistration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreatePredictionApiKeyRegistrationRequest other)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CreatePredictionApiKeyRegistrationRequest other)
Parameter
NameDescription
otherCreatePredictionApiKeyRegistrationRequest
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePredictionApiKeyRegistration
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePredictionApiKeyRegistrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePredictionApiKeyRegistrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valuePredictionApiKeyRegistration
Returns
TypeDescription
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
NameDescription
builderForValuePredictionApiKeyRegistration.Builder
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder

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

public CreatePredictionApiKeyRegistrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePredictionApiKeyRegistrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePredictionApiKeyRegistrationRequest.Builder
Overrides