public static final class GoogleDriveSource.ResourceId.Builder extends GeneratedMessageV3.Builder<GoogleDriveSource.ResourceId.Builder> implements GoogleDriveSource.ResourceIdOrBuilder
The type and ID of the Google Drive resource.
Protobuf type google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId
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.ResourceId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GoogleDriveSource.ResourceId build()
public GoogleDriveSource.ResourceId buildPartial()
public GoogleDriveSource.ResourceId.Builder clear()
Overrides
public GoogleDriveSource.ResourceId.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public GoogleDriveSource.ResourceId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public GoogleDriveSource.ResourceId.Builder clearResourceId()
Required. The ID of the Google Drive resource.
string resource_id = 2 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceId.Builder clearResourceType()
Required. The type of the Google Drive resource.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceId.Builder clone()
Overrides
public GoogleDriveSource.ResourceId getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getResourceId()
Required. The ID of the Google Drive resource.
string resource_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The resourceId.
|
public ByteString getResourceIdBytes()
Required. The ID of the Google Drive resource.
string resource_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for resourceId.
|
public GoogleDriveSource.ResourceId.ResourceType getResourceType()
Required. The type of the Google Drive resource.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
public int getResourceTypeValue()
Required. The type of the Google Drive resource.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for resourceType.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GoogleDriveSource.ResourceId.Builder mergeFrom(GoogleDriveSource.ResourceId other)
public GoogleDriveSource.ResourceId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public GoogleDriveSource.ResourceId.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final GoogleDriveSource.ResourceId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public GoogleDriveSource.ResourceId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GoogleDriveSource.ResourceId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public GoogleDriveSource.ResourceId.Builder setResourceId(String value)
Required. The ID of the Google Drive resource.
string resource_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The resourceId to set.
|
public GoogleDriveSource.ResourceId.Builder setResourceIdBytes(ByteString value)
Required. The ID of the Google Drive resource.
string resource_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for resourceId to set.
|
public GoogleDriveSource.ResourceId.Builder setResourceType(GoogleDriveSource.ResourceId.ResourceType value)
Required. The type of the Google Drive resource.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
public GoogleDriveSource.ResourceId.Builder setResourceTypeValue(int value)
Required. The type of the Google Drive resource.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for resourceType to set.
|
public final GoogleDriveSource.ResourceId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides