Class DeleteStudyRequest.Builder (3.13.0)

public static final class DeleteStudyRequest.Builder extends GeneratedMessageV3.Builder<DeleteStudyRequest.Builder> implements DeleteStudyRequestOrBuilder

Request message for VizierService.DeleteStudy.

Protobuf type google.cloud.aiplatform.v1.DeleteStudyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteStudyRequest build()
Returns
TypeDescription
DeleteStudyRequest

buildPartial()

public DeleteStudyRequest buildPartial()
Returns
TypeDescription
DeleteStudyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteStudyRequest.Builder clearName()

Required. The name of the Study resource to be deleted. Format: projects/{project}/locations/{location}/studies/{study}

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

Returns
TypeDescription
DeleteStudyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteStudyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteStudyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the Study resource to be deleted. Format: projects/{project}/locations/{location}/studies/{study}

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 Study resource to be deleted. Format: projects/{project}/locations/{location}/studies/{study}

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

public DeleteStudyRequest.Builder mergeFrom(DeleteStudyRequest other)
Parameter
NameDescription
otherDeleteStudyRequest
Returns
TypeDescription
DeleteStudyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteStudyRequest.Builder setName(String value)

Required. The name of the Study resource to be deleted. Format: projects/{project}/locations/{location}/studies/{study}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteStudyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteStudyRequest.Builder setNameBytes(ByteString value)

Required. The name of the Study resource to be deleted. Format: projects/{project}/locations/{location}/studies/{study}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteStudyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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