Class GoogleDriveSource.Builder (3.84.0)

public static final class GoogleDriveSource.Builder extends GeneratedMessage.Builder<GoogleDriveSource.Builder> implements GoogleDriveSourceOrBuilder

The Google Drive location for the input content.

Protobuf type google.cloud.aiplatform.v1beta1.GoogleDriveSource

Static Methods

getDescriptor()

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

Methods

addAllResourceIds(Iterable<? extends GoogleDriveSource.ResourceId> values)

public GoogleDriveSource.Builder addAllResourceIds(Iterable<? extends GoogleDriveSource.ResourceId> values)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId>
Returns
Type Description
GoogleDriveSource.Builder

addResourceIds(GoogleDriveSource.ResourceId value)

public GoogleDriveSource.Builder addResourceIds(GoogleDriveSource.ResourceId value)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoogleDriveSource.ResourceId
Returns
Type Description
GoogleDriveSource.Builder

addResourceIds(GoogleDriveSource.ResourceId.Builder builderForValue)

public GoogleDriveSource.Builder addResourceIds(GoogleDriveSource.ResourceId.Builder builderForValue)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GoogleDriveSource.ResourceId.Builder
Returns
Type Description
GoogleDriveSource.Builder

addResourceIds(int index, GoogleDriveSource.ResourceId value)

public GoogleDriveSource.Builder addResourceIds(int index, GoogleDriveSource.ResourceId value)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value GoogleDriveSource.ResourceId
Returns
Type Description
GoogleDriveSource.Builder

addResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)

public GoogleDriveSource.Builder addResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue GoogleDriveSource.ResourceId.Builder
Returns
Type Description
GoogleDriveSource.Builder

addResourceIdsBuilder()

public GoogleDriveSource.ResourceId.Builder addResourceIdsBuilder()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleDriveSource.ResourceId.Builder

addResourceIdsBuilder(int index)

public GoogleDriveSource.ResourceId.Builder addResourceIdsBuilder(int index)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GoogleDriveSource.ResourceId.Builder

build()

public GoogleDriveSource build()
Returns
Type Description
GoogleDriveSource

buildPartial()

public GoogleDriveSource buildPartial()
Returns
Type Description
GoogleDriveSource

clear()

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

clearResourceIds()

public GoogleDriveSource.Builder clearResourceIds()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleDriveSource.Builder

getDefaultInstanceForType()

public GoogleDriveSource getDefaultInstanceForType()
Returns
Type Description
GoogleDriveSource

getDescriptorForType()

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

getResourceIds(int index)

public GoogleDriveSource.ResourceId getResourceIds(int index)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GoogleDriveSource.ResourceId

getResourceIdsBuilder(int index)

public GoogleDriveSource.ResourceId.Builder getResourceIdsBuilder(int index)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GoogleDriveSource.ResourceId.Builder

getResourceIdsBuilderList()

public List<GoogleDriveSource.ResourceId.Builder> getResourceIdsBuilderList()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getResourceIdsCount()

public int getResourceIdsCount()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getResourceIdsList()

public List<GoogleDriveSource.ResourceId> getResourceIdsList()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ResourceId>

getResourceIdsOrBuilder(int index)

public GoogleDriveSource.ResourceIdOrBuilder getResourceIdsOrBuilder(int index)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GoogleDriveSource.ResourceIdOrBuilder

getResourceIdsOrBuilderList()

public List<? extends GoogleDriveSource.ResourceIdOrBuilder> getResourceIdsOrBuilderList()

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceIdOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleDriveSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeResourceIds(int index)

public GoogleDriveSource.Builder removeResourceIds(int index)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GoogleDriveSource.Builder

setResourceIds(int index, GoogleDriveSource.ResourceId value)

public GoogleDriveSource.Builder setResourceIds(int index, GoogleDriveSource.ResourceId value)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value GoogleDriveSource.ResourceId
Returns
Type Description
GoogleDriveSource.Builder

setResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)

public GoogleDriveSource.Builder setResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)

Required. Google Drive resource IDs.

repeated .google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue GoogleDriveSource.ResourceId.Builder
Returns
Type Description
GoogleDriveSource.Builder