public static final class GoogleDriveSource.ResourceId extends GeneratedMessage implements GoogleDriveSource.ResourceIdOrBuilderThe type and ID of the Google Drive resource.
Protobuf type google.cloud.vertexai.v1.GoogleDriveSource.ResourceId
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GoogleDriveSource.ResourceIdImplements
GoogleDriveSource.ResourceIdOrBuilderStatic Fields
RESOURCE_ID_FIELD_NUMBER
public static final int RESOURCE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GoogleDriveSource.ResourceId getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GoogleDriveSource.ResourceId.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.Builder |
|
newBuilder(GoogleDriveSource.ResourceId prototype)
public static GoogleDriveSource.ResourceId.Builder newBuilder(GoogleDriveSource.ResourceId prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GoogleDriveSource.ResourceId |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.Builder |
|
parseDelimitedFrom(InputStream input)
public static GoogleDriveSource.ResourceId parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GoogleDriveSource.ResourceId parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GoogleDriveSource.ResourceId parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GoogleDriveSource.ResourceId parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GoogleDriveSource.ResourceId parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GoogleDriveSource.ResourceId parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GoogleDriveSource.ResourceId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GoogleDriveSource.ResourceId> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceId> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public GoogleDriveSource.ResourceId getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId |
|
getParserForType()
public Parser<GoogleDriveSource.ResourceId> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceId> |
|
getResourceId()
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. |
getResourceIdBytes()
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. |
getResourceType()
public GoogleDriveSource.ResourceId.ResourceType getResourceType()Required. The type of the Google Drive resource.
.google.cloud.vertexai.v1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.ResourceType |
The resourceType. |
getResourceTypeValue()
public int getResourceTypeValue()Required. The type of the Google Drive resource.
.google.cloud.vertexai.v1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceType. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GoogleDriveSource.ResourceId.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GoogleDriveSource.ResourceId.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.Builder |
|
toBuilder()
public GoogleDriveSource.ResourceId.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GoogleDriveSource.ResourceId.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|