Class DeletePredictionApiKeyRegistrationRequest.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeletePredictionApiKeyRegistrationRequest build()
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest

buildPartial()

public DeletePredictionApiKeyRegistrationRequest buildPartial()
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeletePredictionApiKeyRegistrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeletePredictionApiKeyRegistrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeletePredictionApiKeyRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public DeletePredictionApiKeyRegistrationRequest getDefaultInstanceForType()
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeletePredictionApiKeyRegistrationRequest other)

public DeletePredictionApiKeyRegistrationRequest.Builder mergeFrom(DeletePredictionApiKeyRegistrationRequest other)
Parameter
NameDescription
otherDeletePredictionApiKeyRegistrationRequest
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeletePredictionApiKeyRegistrationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeletePredictionApiKeyRegistrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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