- 2.86.0 (latest)
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class AiModel.Builder extends GeneratedMessageV3.Builder<AiModel.Builder> implements AiModelOrBuilderContains information about the AI model associated with the finding.
 Protobuf type google.cloud.securitycenter.v2.AiModel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AiModel.BuilderImplements
AiModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AiModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
build()
public AiModel build()| Returns | |
|---|---|
| Type | Description | 
| AiModel | |
buildPartial()
public AiModel buildPartial()| Returns | |
|---|---|
| Type | Description | 
| AiModel | |
clear()
public AiModel.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
clearDeploymentPlatform()
public AiModel.Builder clearDeploymentPlatform()The platform on which the model is deployed.
 .google.cloud.securitycenter.v2.AiModel.DeploymentPlatform deployment_platform = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearDisplayName()
public AiModel.Builder clearDisplayName()The user defined display name of model. Ex. baseline-classification-model
 string display_name = 7;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearDomain()
public AiModel.Builder clearDomain()The domain of the model, for example, “image-classification”.
 string domain = 2;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public AiModel.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
clearLibrary()
public AiModel.Builder clearLibrary()The name of the model library, for example, “transformers”.
 string library = 3;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearLocation()
public AiModel.Builder clearLocation()The region in which the model is used, for example, “us-central1”.
 string location = 4;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearName()
public AiModel.Builder clearName()The name of the AI model, for example, "gemini:1.0.0".
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public AiModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
clearPublisher()
public AiModel.Builder clearPublisher()The publisher of the model, for example, “google” or “nvidia”.
 string publisher = 5;
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
clone()
public AiModel.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
getDefaultInstanceForType()
public AiModel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| AiModel | |
getDeploymentPlatform()
public AiModel.DeploymentPlatform getDeploymentPlatform()The platform on which the model is deployed.
 .google.cloud.securitycenter.v2.AiModel.DeploymentPlatform deployment_platform = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.DeploymentPlatform | The deploymentPlatform. | 
getDeploymentPlatformValue()
public int getDeploymentPlatformValue()The platform on which the model is deployed.
 .google.cloud.securitycenter.v2.AiModel.DeploymentPlatform deployment_platform = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for deploymentPlatform. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDisplayName()
public String getDisplayName()The user defined display name of model. Ex. baseline-classification-model
 string display_name = 7;
| Returns | |
|---|---|
| Type | Description | 
| String | The displayName. | 
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The user defined display name of model. Ex. baseline-classification-model
 string display_name = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for displayName. | 
getDomain()
public String getDomain()The domain of the model, for example, “image-classification”.
 string domain = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The domain. | 
getDomainBytes()
public ByteString getDomainBytes()The domain of the model, for example, “image-classification”.
 string domain = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for domain. | 
getLibrary()
public String getLibrary()The name of the model library, for example, “transformers”.
 string library = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The library. | 
getLibraryBytes()
public ByteString getLibraryBytes()The name of the model library, for example, “transformers”.
 string library = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for library. | 
getLocation()
public String getLocation()The region in which the model is used, for example, “us-central1”.
 string location = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The location. | 
getLocationBytes()
public ByteString getLocationBytes()The region in which the model is used, for example, “us-central1”.
 string location = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for location. | 
getName()
public String getName()The name of the AI model, for example, "gemini:1.0.0".
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()The name of the AI model, for example, "gemini:1.0.0".
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getPublisher()
public String getPublisher()The publisher of the model, for example, “google” or “nvidia”.
 string publisher = 5;
| Returns | |
|---|---|
| Type | Description | 
| String | The publisher. | 
getPublisherBytes()
public ByteString getPublisherBytes()The publisher of the model, for example, “google” or “nvidia”.
 string publisher = 5;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for publisher. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(AiModel other)
public AiModel.Builder mergeFrom(AiModel other)| Parameter | |
|---|---|
| Name | Description | 
| other | AiModel | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AiModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public AiModel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AiModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
setDeploymentPlatform(AiModel.DeploymentPlatform value)
public AiModel.Builder setDeploymentPlatform(AiModel.DeploymentPlatform value)The platform on which the model is deployed.
 .google.cloud.securitycenter.v2.AiModel.DeploymentPlatform deployment_platform = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | AiModel.DeploymentPlatformThe deploymentPlatform to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setDeploymentPlatformValue(int value)
public AiModel.Builder setDeploymentPlatformValue(int value)The platform on which the model is deployed.
 .google.cloud.securitycenter.v2.AiModel.DeploymentPlatform deployment_platform = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for deploymentPlatform to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setDisplayName(String value)
public AiModel.Builder setDisplayName(String value)The user defined display name of model. Ex. baseline-classification-model
 string display_name = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setDisplayNameBytes(ByteString value)
public AiModel.Builder setDisplayNameBytes(ByteString value)The user defined display name of model. Ex. baseline-classification-model
 string display_name = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setDomain(String value)
public AiModel.Builder setDomain(String value)The domain of the model, for example, “image-classification”.
 string domain = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe domain to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setDomainBytes(ByteString value)
public AiModel.Builder setDomainBytes(ByteString value)The domain of the model, for example, “image-classification”.
 string domain = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for domain to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public AiModel.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
setLibrary(String value)
public AiModel.Builder setLibrary(String value)The name of the model library, for example, “transformers”.
 string library = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe library to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setLibraryBytes(ByteString value)
public AiModel.Builder setLibraryBytes(ByteString value)The name of the model library, for example, “transformers”.
 string library = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for library to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setLocation(String value)
public AiModel.Builder setLocation(String value)The region in which the model is used, for example, “us-central1”.
 string location = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe location to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setLocationBytes(ByteString value)
public AiModel.Builder setLocationBytes(ByteString value)The region in which the model is used, for example, “us-central1”.
 string location = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for location to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setName(String value)
public AiModel.Builder setName(String value)The name of the AI model, for example, "gemini:1.0.0".
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public AiModel.Builder setNameBytes(ByteString value)The name of the AI model, for example, "gemini:1.0.0".
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setPublisher(String value)
public AiModel.Builder setPublisher(String value)The publisher of the model, for example, “google” or “nvidia”.
 string publisher = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe publisher to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setPublisherBytes(ByteString value)
public AiModel.Builder setPublisherBytes(ByteString value)The publisher of the model, for example, “google” or “nvidia”.
 string publisher = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for publisher to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AiModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final AiModel.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| AiModel.Builder | |