public interface FilePartOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFileCase()
public abstract FilePart.FileCase getFileCase()| Returns | |
|---|---|
| Type | Description |
FilePart.FileCase |
|
getFileWithBytes()
public abstract ByteString getFileWithBytes()The raw bytes of the file.
bytes file_with_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The fileWithBytes. |
getFileWithUri()
public abstract String getFileWithUri()The URI pointing to the file.
string file_with_uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The fileWithUri. |
getFileWithUriBytes()
public abstract ByteString getFileWithUriBytes()The URI pointing to the file.
string file_with_uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fileWithUri. |
getMimeType()
public abstract String getMimeType()Optional. The MIME type of the file.
string mime_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()Optional. The MIME type of the file.
string mime_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
getName()
public abstract String getName()Optional. The name of the file.
string name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Optional. The name of the file.
string name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasFileWithBytes()
public abstract boolean hasFileWithBytes()The raw bytes of the file.
bytes file_with_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fileWithBytes field is set. |
hasFileWithUri()
public abstract boolean hasFileWithUri()The URI pointing to the file.
string file_with_uri = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fileWithUri field is set. |