public static final class ExtensionManifest.ApiSpec.Builder extends GeneratedMessageV3.Builder<ExtensionManifest.ApiSpec.Builder> implements ExtensionManifest.ApiSpecOrBuilder
The API specification shown to the LLM.
Protobuf type google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ExtensionManifest.ApiSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExtensionManifest.ApiSpec build()
public ExtensionManifest.ApiSpec buildPartial()
public ExtensionManifest.ApiSpec.Builder clear()
Overrides
public ExtensionManifest.ApiSpec.Builder clearApiSpec()
public ExtensionManifest.ApiSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExtensionManifest.ApiSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ExtensionManifest.ApiSpec.Builder clearOpenApiGcsUri()
Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
public ExtensionManifest.ApiSpec.Builder clearOpenApiYaml()
The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
public ExtensionManifest.ApiSpec.Builder clone()
Overrides
public ExtensionManifest.ApiSpec.ApiSpecCase getApiSpecCase()
public ExtensionManifest.ApiSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getOpenApiGcsUri()
Cloud Storage URI pointing to the OpenAPI spec.
string open_api_gcs_uri = 2;
Returns |
---|
Type | Description |
String | The openApiGcsUri.
|
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.
|
public String getOpenApiYaml()
The API spec in Open API standard and YAML format.
string open_api_yaml = 1;
Returns |
---|
Type | Description |
String | The openApiYaml.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExtensionManifest.ApiSpec.Builder mergeFrom(ExtensionManifest.ApiSpec other)
public ExtensionManifest.ApiSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExtensionManifest.ApiSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ExtensionManifest.ApiSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ExtensionManifest.ApiSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The openApiGcsUri to set.
|
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 | ByteString
The bytes for openApiGcsUri to set.
|
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 | String
The openApiYaml to set.
|
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 | ByteString
The bytes for openApiYaml to set.
|
public ExtensionManifest.ApiSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ExtensionManifest.ApiSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides