Class GoogleDriveSource.Builder (3.49.0)

public static final class GoogleDriveSource.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GoogleDriveSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleDriveSource.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GoogleDriveSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GoogleDriveSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GoogleDriveSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GoogleDriveSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public GoogleDriveSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleDriveSource.Builder
Overrides

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

public GoogleDriveSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GoogleDriveSource.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GoogleDriveSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GoogleDriveSource.Builder
Overrides