public static final class ExtensionManifest.ApiSpec.Builder extends GeneratedMessage.Builder<ExtensionManifest.ApiSpec.Builder> implements ExtensionManifest.ApiSpecOrBuilderThe API specification shown to the LLM.
Protobuf type google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExtensionManifest.ApiSpec.BuilderImplements
ExtensionManifest.ApiSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExtensionManifest.ApiSpec build()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
buildPartial()
public ExtensionManifest.ApiSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
clear()
public ExtensionManifest.ApiSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
clearApiSpec()
public ExtensionManifest.ApiSpec.Builder clearApiSpec()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
clearOpenApiGcsUri()
public ExtensionManifest.ApiSpec.Builder clearOpenApiGcsUri()Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |
clearOpenApiYaml()
public ExtensionManifest.ApiSpec.Builder clearOpenApiYaml()The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |
getApiSpecCase()
public ExtensionManifest.ApiSpec.ApiSpecCase getApiSpecCase()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.ApiSpecCase |
|
getDefaultInstanceForType()
public ExtensionManifest.ApiSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExtensionManifest.ApiSpec other)
public ExtensionManifest.ApiSpec.Builder mergeFrom(ExtensionManifest.ApiSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
ExtensionManifest.ApiSpec |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExtensionManifest.ApiSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExtensionManifest.ApiSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
|
setOpenApiGcsUri(String value)
public ExtensionManifest.ApiSpec.Builder setOpenApiGcsUri(String value)Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe openApiGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |
setOpenApiGcsUriBytes(ByteString value)
public ExtensionManifest.ApiSpec.Builder setOpenApiGcsUriBytes(ByteString value)Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for openApiGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |
setOpenApiYaml(String value)
public ExtensionManifest.ApiSpec.Builder setOpenApiYaml(String value)The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe openApiYaml to set. |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |
setOpenApiYamlBytes(ByteString value)
public ExtensionManifest.ApiSpec.Builder setOpenApiYamlBytes(ByteString value)The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for openApiYaml to set. |
| Returns | |
|---|---|
| Type | Description |
ExtensionManifest.ApiSpec.Builder |
This builder for chaining. |