Class DeleteFeaturestoreRequest.Builder (3.21.0)

public static final class DeleteFeaturestoreRequest.Builder extends GeneratedMessageV3.Builder<DeleteFeaturestoreRequest.Builder> implements DeleteFeaturestoreRequestOrBuilder

Request message for FeaturestoreService.DeleteFeaturestore.

Protobuf type google.cloud.aiplatform.v1.DeleteFeaturestoreRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteFeaturestoreRequest build()
Returns
TypeDescription
DeleteFeaturestoreRequest

buildPartial()

public DeleteFeaturestoreRequest buildPartial()
Returns
TypeDescription
DeleteFeaturestoreRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public DeleteFeaturestoreRequest.Builder clearForce()

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

bool force = 2;

Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

This builder for chaining.

clearName()

public DeleteFeaturestoreRequest.Builder clearName()

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteFeaturestoreRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteFeaturestoreRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

bool force = 2;

Returns
TypeDescription
boolean

The force.

getName()

public String getName()

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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(DeleteFeaturestoreRequest other)

public DeleteFeaturestoreRequest.Builder mergeFrom(DeleteFeaturestoreRequest other)
Parameter
NameDescription
otherDeleteFeaturestoreRequest
Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteFeaturestoreRequest.Builder setForce(boolean value)

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

bool force = 2;

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

This builder for chaining.

setName(String value)

public DeleteFeaturestoreRequest.Builder setName(String value)

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteFeaturestoreRequest.Builder setNameBytes(ByteString value)

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteFeaturestoreRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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