com.clarifai.grpc.api.ModelReferenceOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface ModelReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ModelReference)
com.google.protobuf.MessageOrBuilder {
/**
*
* Id of the reference
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* Id of the reference
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The id of the model this Model reference is tied to.
*
*
* string model_id = 2;
* @return The modelId.
*/
java.lang.String getModelId();
/**
*
* The id of the model this Model reference is tied to.
*
*
* string model_id = 2;
* @return The bytes for modelId.
*/
com.google.protobuf.ByteString
getModelIdBytes();
/**
*
* address of resource
*
*
* string url = 3;
* @return The url.
*/
java.lang.String getUrl();
/**
*
* address of resource
*
*
* string url = 3;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
*
* name of link
*
*
* string name = 4;
* @return The name.
*/
java.lang.String getName();
/**
*
* name of link
*
*
* string name = 4;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
}