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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePredictionApiKeyRegistrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreatePredictionApiKeyRegistrationRequest build()
Returns
buildPartial()
public CreatePredictionApiKeyRegistrationRequest buildPartial()
Returns
clear()
public CreatePredictionApiKeyRegistrationRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePredictionApiKeyRegistrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePredictionApiKeyRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public CreatePredictionApiKeyRegistrationRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreatePredictionApiKeyRegistrationRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreatePredictionApiKeyRegistrationRequest other)
public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CreatePredictionApiKeyRegistrationRequest other)
Parameter
Returns
public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreatePredictionApiKeyRegistrationRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePredictionApiKeyRegistrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePredictionApiKeyRegistrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePredictionApiKeyRegistrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePredictionApiKeyRegistrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides