Class DeletePredictionApiKeyRegistrationRequest.Builder (0.52.0)

public static final class DeletePredictionApiKeyRegistrationRequest.Builder extends GeneratedMessageV3.Builder<DeletePredictionApiKeyRegistrationRequest.Builder> implements DeletePredictionApiKeyRegistrationRequestOrBuilder

Request message for DeletePredictionApiKeyRegistration method.

Protobuf type google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeletePredictionApiKeyRegistrationRequest build()
Returns
Type Description
DeletePredictionApiKeyRegistrationRequest

buildPartial()

public DeletePredictionApiKeyRegistrationRequest buildPartial()
Returns
Type Description
DeletePredictionApiKeyRegistrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeletePredictionApiKeyRegistrationRequest.Builder clearName()

Required. The API key to unregister including full resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>

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

Returns
Type Description
DeletePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeletePredictionApiKeyRegistrationRequest getDefaultInstanceForType()
Returns
Type Description
DeletePredictionApiKeyRegistrationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The API key to unregister including full resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The API key to unregister including full resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeletePredictionApiKeyRegistrationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeletePredictionApiKeyRegistrationRequest.Builder setName(String value)

Required. The API key to unregister including full resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeletePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePredictionApiKeyRegistrationRequest.Builder setNameBytes(ByteString value)

Required. The API key to unregister including full resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/<YOUR_API_KEY>

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeletePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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