Class ExtensionManifest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
com.google.cloud.aiplatform.v1beta1.ExtensionManifest.Builder
- All Implemented Interfaces:
ExtensionManifestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExtensionManifest
public static final class ExtensionManifest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
implements ExtensionManifestOrBuilder
Manifest spec of an Extension needed for runtime execution.Protobuf type
google.cloud.aiplatform.v1beta1.ExtensionManifest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Required.Required.Required.Required.Required.Required.Required.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeAuthConfig(AuthConfig value) Required.mergeFrom(ExtensionManifest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setApiSpec(ExtensionManifest.ApiSpec.Builder builderForValue) Required.setAuthConfig(AuthConfig value) Required.setAuthConfig(AuthConfig.Builder builderForValue) Required.setDescription(String value) Required.setDescriptionBytes(com.google.protobuf.ByteString value) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExtensionManifest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder>
-
mergeFrom
public ExtensionManifest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExtensionManifest.Builder>- Throws:
IOException
-
getName
Required. Extension name shown to the LLM. The name can be up to 128 characters long.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceExtensionManifestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Extension name shown to the LLM. The name can be up to 128 characters long.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceExtensionManifestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Extension name shown to the LLM. The name can be up to 128 characters long.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Extension name shown to the LLM. The name can be up to 128 characters long.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. Extension name shown to the LLM. The name can be up to 128 characters long.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionin interfaceExtensionManifestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionBytesin interfaceExtensionManifestOrBuilder- Returns:
- The bytes for description.
-
setDescription
Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasApiSpec
public boolean hasApiSpec()Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
hasApiSpecin interfaceExtensionManifestOrBuilder- Returns:
- Whether the apiSpec field is set.
-
getApiSpec
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getApiSpecin interfaceExtensionManifestOrBuilder- Returns:
- The apiSpec.
-
setApiSpec
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
setApiSpec
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
mergeApiSpec
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
clearApiSpec
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
getApiSpecBuilder
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
getApiSpecOrBuilder
Required. Immutable. The API specification shown to the LLM.
.google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getApiSpecOrBuilderin interfaceExtensionManifestOrBuilder
-
hasAuthConfig
public boolean hasAuthConfig()Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
hasAuthConfigin interfaceExtensionManifestOrBuilder- Returns:
- Whether the authConfig field is set.
-
getAuthConfig
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getAuthConfigin interfaceExtensionManifestOrBuilder- Returns:
- The authConfig.
-
setAuthConfig
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
setAuthConfig
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
mergeAuthConfig
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
clearAuthConfig
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
getAuthConfigBuilder
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; -
getAuthConfigOrBuilder
Required. Immutable. Type of auth supported by this extension.
.google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getAuthConfigOrBuilderin interfaceExtensionManifestOrBuilder
-