public static final class CustomProcessorSourceInfo.ModelSchema extends GeneratedMessageV3 implements CustomProcessorSourceInfo.ModelSchemaOrBuilder
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INSTANCES_SCHEMA_FIELD_NUMBER
public static final int INSTANCES_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARAMETERS_SCHEMA_FIELD_NUMBER
public static final int PARAMETERS_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PREDICTIONS_SCHEMA_FIELD_NUMBER
public static final int PREDICTIONS_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomProcessorSourceInfo.ModelSchema getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder()
newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)
public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)
public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input)
public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomProcessorSourceInfo.ModelSchema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()
getInstancesSchema()
public GcsSource getInstancesSchema()
Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;
Returns |
Type |
Description |
GcsSource |
The instancesSchema.
|
getInstancesSchemaOrBuilder()
public GcsSourceOrBuilder getInstancesSchemaOrBuilder()
Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;
public GcsSource getParametersSchema()
Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;
Returns |
Type |
Description |
GcsSource |
The parametersSchema.
|
public GcsSourceOrBuilder getParametersSchemaOrBuilder()
Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;
getParserForType()
public Parser<CustomProcessorSourceInfo.ModelSchema> getParserForType()
Overrides
getPredictionsSchema()
public GcsSource getPredictionsSchema()
Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;
Returns |
Type |
Description |
GcsSource |
The predictionsSchema.
|
getPredictionsSchemaOrBuilder()
public GcsSourceOrBuilder getPredictionsSchemaOrBuilder()
Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasInstancesSchema()
public boolean hasInstancesSchema()
Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;
Returns |
Type |
Description |
boolean |
Whether the instancesSchema field is set.
|
public boolean hasParametersSchema()
Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;
Returns |
Type |
Description |
boolean |
Whether the parametersSchema field is set.
|
hasPredictionsSchema()
public boolean hasPredictionsSchema()
Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;
Returns |
Type |
Description |
boolean |
Whether the predictionsSchema field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomProcessorSourceInfo.ModelSchema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides