Interface ApiConfig.FileOrBuilder (2.39.0)

publicstaticinterface ApiConfig.FileOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents()

publicabstractByteStringgetContents()

The bytes that constitute the file.

bytes contents = 2;

Returns
Type Description
ByteString

The contents.

getPath()

publicabstractStringgetPath()

The file path (full or relative path). This is typically the path of the file when it is uploaded.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

publicabstractByteStringgetPathBytes()

The file path (full or relative path). This is typically the path of the file when it is uploaded.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.