public static final class ExtensionManifest.ApiSpec extends GeneratedMessage implements ExtensionManifest.ApiSpecOrBuilderThe API specification shown to the LLM.
Protobuf type google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExtensionManifest.ApiSpecImplements
ExtensionManifest.ApiSpecOrBuilderStatic Fields
OPEN_API_GCS_URI_FIELD_NUMBER
public static final int OPEN_API_GCS_URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
OPEN_API_YAML_FIELD_NUMBER
public static final int OPEN_API_YAML_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ExtensionManifest.ApiSpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ExtensionManifest.ApiSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
newBuilder(ExtensionManifest.ApiSpec prototype)
public static ExtensionManifest.ApiSpec.Builder newBuilder(ExtensionManifest.ApiSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ExtensionManifest.ApiSpec |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static ExtensionManifest.ApiSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ExtensionManifest.ApiSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ExtensionManifest.ApiSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ExtensionManifest.ApiSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ExtensionManifest.ApiSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ExtensionManifest.ApiSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExtensionManifest.ApiSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ExtensionManifest.ApiSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ApiSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getApiSpecCase()
public ExtensionManifest.ApiSpec.ApiSpecCase getApiSpecCase()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.ApiSpecCase |
|
getDefaultInstanceForType()
public ExtensionManifest.ApiSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
getOpenApiGcsUri()
public String getOpenApiGcsUri()Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The openApiGcsUri. |
getOpenApiGcsUriBytes()
public ByteString getOpenApiGcsUriBytes()Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for openApiGcsUri. |
getOpenApiYaml()
public String getOpenApiYaml()The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The openApiYaml. |
getOpenApiYamlBytes()
public ByteString getOpenApiYamlBytes()The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for openApiYaml. |
getParserForType()
public Parser<ExtensionManifest.ApiSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ApiSpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasOpenApiGcsUri()
public boolean hasOpenApiGcsUri()Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the openApiGcsUri field is set. |
hasOpenApiYaml()
public boolean hasOpenApiYaml()The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the openApiYaml field is set. |
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 ExtensionManifest.ApiSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExtensionManifest.ApiSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
toBuilder()
public ExtensionManifest.ApiSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|