public final class FileData extends GeneratedMessageV3 implements FileDataOrBuilder
Dati basati su URI.
Tipo di protobuf google.cloud.vertexai.v1.FileData
Membri ereditati
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Campi statici
FILE_URI_FIELD_NUMBER
public static final int FILE_URI_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
Metodi statici
getDefaultInstance()
public static FileData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FileData.Builder newBuilder()
newBuilder(FileData prototype)
public static FileData.Builder newBuilder(FileData prototype)
Parametro |
Nome |
Description |
prototype |
FileData
|
public static FileData parseDelimitedFrom(InputStream input)
public static FileData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FileData parseFrom(byte[] data)
Parametro |
Nome |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FileData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileData parseFrom(CodedInputStream input)
public static FileData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileData parseFrom(InputStream input)
public static FileData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FileData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FileData> parser()
Metodi
è uguale a(obj oggetto)
public boolean equals(Object obj)
Parametro |
Nome |
Description |
obj |
Object
|
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
getDefaultInstanceForType()
public FileData getDefaultInstanceForType()
getFileUri()
public String getFileUri()
Obbligatorio. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
String |
Il file URI.
|
getFileUriBytes()
public ByteString getFileUriBytes()
Obbligatorio. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
ByteString |
I byte per fileUri.
|
getMimeType()
public String getMimeType()
Obbligatorio. Il tipo MIME standard IANA dei dati di origine.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
String |
Il tipo mime.
|
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
Obbligatorio. Il tipo MIME standard IANA dei dati di origine.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
ByteString |
I byte per mimeType.
|
getParserForType()
public Parser<FileData> getParserForType()
Sostituzioni
getSerializedSize()
public int getSerializedSize()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
hashCode()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Sostituzioni
isInitialized()
public final boolean isInitialized()
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
newBuilderForType()
public FileData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Sostituzioni
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Restituisce |
Tipo |
Description |
Object |
|
Sostituzioni
toBuilder()
public FileData.Builder toBuilder()
writeTo(output di CodedOutputStream)
public void writeTo(CodedOutputStream output)
Sostituzioni