Class VertexDatasetResourceReference.Builder (3.87.0)

public static final class VertexDatasetResourceReference.Builder extends GeneratedMessage.Builder<VertexDatasetResourceReference.Builder> implements VertexDatasetResourceReferenceOrBuilder

Identifies a single Vertex AI resource. Only datasets are supported.

Protobuf type google.privacy.dlp.v2.VertexDatasetResourceReference

Static Methods

getDescriptor()

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

Methods

build()

public VertexDatasetResourceReference build()
Returns
Type Description
VertexDatasetResourceReference

buildPartial()

public VertexDatasetResourceReference buildPartial()
Returns
Type Description
VertexDatasetResourceReference

clear()

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

clearDatasetResourceName()

public VertexDatasetResourceReference.Builder clearDatasetResourceName()

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples:

  • projects/{project}/locations/{location}/datasets/{dataset}

string dataset_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VertexDatasetResourceReference.Builder

This builder for chaining.

getDatasetResourceName()

public String getDatasetResourceName()

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples:

  • projects/{project}/locations/{location}/datasets/{dataset}

string dataset_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasetResourceName.

getDatasetResourceNameBytes()

public ByteString getDatasetResourceNameBytes()

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples:

  • projects/{project}/locations/{location}/datasets/{dataset}

string dataset_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasetResourceName.

getDefaultInstanceForType()

public VertexDatasetResourceReference getDefaultInstanceForType()
Returns
Type Description
VertexDatasetResourceReference

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexDatasetResourceReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetResourceName(String value)

public VertexDatasetResourceReference.Builder setDatasetResourceName(String value)

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples:

  • projects/{project}/locations/{location}/datasets/{dataset}

string dataset_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasetResourceName to set.

Returns
Type Description
VertexDatasetResourceReference.Builder

This builder for chaining.

setDatasetResourceNameBytes(ByteString value)

public VertexDatasetResourceReference.Builder setDatasetResourceNameBytes(ByteString value)

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples:

  • projects/{project}/locations/{location}/datasets/{dataset}

string dataset_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasetResourceName to set.

Returns
Type Description
VertexDatasetResourceReference.Builder

This builder for chaining.