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.v1.GoogleDriveSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public GoogleDriveSource.Builder addAllResourceIds(Iterable<? extends GoogleDriveSource.ResourceId> values)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId>
|
public GoogleDriveSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GoogleDriveSource.Builder addResourceIds(GoogleDriveSource.ResourceId value)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.Builder addResourceIds(GoogleDriveSource.ResourceId.Builder builderForValue)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.Builder addResourceIds(int index, GoogleDriveSource.ResourceId value)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.Builder addResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceId.Builder addResourceIdsBuilder()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceId.Builder addResourceIdsBuilder(int index)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public GoogleDriveSource build()
public GoogleDriveSource buildPartial()
public GoogleDriveSource.Builder clear()
Overrides
public GoogleDriveSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public GoogleDriveSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public GoogleDriveSource.Builder clearResourceIds()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.Builder clone()
Overrides
public GoogleDriveSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GoogleDriveSource.ResourceId getResourceIds(int index)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public GoogleDriveSource.ResourceId.Builder getResourceIdsBuilder(int index)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<GoogleDriveSource.ResourceId.Builder> getResourceIdsBuilderList()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public int getResourceIdsCount()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<GoogleDriveSource.ResourceId> getResourceIdsList()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceIdOrBuilder getResourceIdsOrBuilder(int index)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<? extends GoogleDriveSource.ResourceIdOrBuilder> getResourceIdsOrBuilderList()
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.GoogleDriveSource.ResourceIdOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GoogleDriveSource.Builder mergeFrom(GoogleDriveSource other)
public GoogleDriveSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public GoogleDriveSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final GoogleDriveSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public GoogleDriveSource.Builder removeResourceIds(int index)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public GoogleDriveSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GoogleDriveSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public GoogleDriveSource.Builder setResourceIds(int index, GoogleDriveSource.ResourceId value)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.Builder setResourceIds(int index, GoogleDriveSource.ResourceId.Builder builderForValue)
Required. Google Drive resource IDs.
repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED];
public final GoogleDriveSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides