Interface UploadBlobRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UploadBlobRequest,UploadBlobRequest.Builder
@Generated
public interface UploadBlobRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Additional metadata key-value pairs.API key for authentication.com.google.protobuf.ByteStringAPI key for authentication.Connector identifier.com.google.protobuf.ByteStringConnector identifier.com.google.protobuf.ByteStringRaw file content (up to 2GB).Original filename.com.google.protobuf.ByteStringOriginal filename.Deprecated.intAdditional metadata key-value pairs.Additional metadata key-value pairs.getMetadataOrDefault(String key, String defaultValue) Additional metadata key-value pairs.getMetadataOrThrow(String key) Additional metadata key-value pairs.MIME type of the content.com.google.protobuf.ByteStringMIME type of the content.getPath()Virtual path in the connector's namespace (e.g., "/folder/file.txt").com.google.protobuf.ByteStringVirtual path in the connector's namespace (e.g., "/folder/file.txt").Optional session ID for grouping related uploads.com.google.protobuf.ByteStringOptional session ID for grouping related uploads.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConnectorId
String getConnectorId()Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Returns:
- The connectorId.
-
getConnectorIdBytes
com.google.protobuf.ByteString getConnectorIdBytes()Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Returns:
- The bytes for connectorId.
-
getApiKey
String getApiKey()API key for authentication.
string api_key = 2 [json_name = "apiKey"];- Returns:
- The apiKey.
-
getApiKeyBytes
com.google.protobuf.ByteString getApiKeyBytes()API key for authentication.
string api_key = 2 [json_name = "apiKey"];- Returns:
- The bytes for apiKey.
-
getSessionId
String getSessionId()Optional session ID for grouping related uploads.
string session_id = 3 [json_name = "sessionId"];- Returns:
- The sessionId.
-
getSessionIdBytes
com.google.protobuf.ByteString getSessionIdBytes()Optional session ID for grouping related uploads.
string session_id = 3 [json_name = "sessionId"];- Returns:
- The bytes for sessionId.
-
getFilename
String getFilename()Original filename.
string filename = 4 [json_name = "filename"];- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()Original filename.
string filename = 4 [json_name = "filename"];- Returns:
- The bytes for filename.
-
getMimeType
String getMimeType()MIME type of the content.
string mime_type = 5 [json_name = "mimeType"];- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the content.
string mime_type = 5 [json_name = "mimeType"];- Returns:
- The bytes for mimeType.
-
getPath
String getPath()Virtual path in the connector's namespace (e.g., "/folder/file.txt").
string path = 6 [json_name = "path"];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Virtual path in the connector's namespace (e.g., "/folder/file.txt").
string path = 6 [json_name = "path"];- Returns:
- The bytes for path.
-
getMetadataCount
int getMetadataCount()Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"]; -
containsMetadata
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadataOrDefault
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadataOrThrow
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getContent
com.google.protobuf.ByteString getContent()Raw file content (up to 2GB).
bytes content = 8 [json_name = "content"];- Returns:
- The content.
-