com.clarifai.grpc.api.Video 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;
/**
*
* Video
*
*
* Protobuf type {@code clarifai.api.Video}
*/
public final class Video extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:clarifai.api.Video)
VideoOrBuilder {
private static final long serialVersionUID = 0L;
// Use Video.newBuilder() to construct.
private Video(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Video() {
url_ = "";
base64_ = com.google.protobuf.ByteString.EMPTY;
thumbnailUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Video();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Video(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
url_ = s;
break;
}
case 18: {
base64_ = input.readBytes();
break;
}
case 32: {
allowDuplicateUrl_ = input.readBool();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
thumbnailUrl_ = s;
break;
}
case 50: {
com.clarifai.grpc.api.HostedURL.Builder subBuilder = null;
if (hosted_ != null) {
subBuilder = hosted_.toBuilder();
}
hosted_ = input.readMessage(com.clarifai.grpc.api.HostedURL.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hosted_);
hosted_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.clarifai.grpc.api.VideoInfo.Builder subBuilder = null;
if (videoInfo_ != null) {
subBuilder = videoInfo_.toBuilder();
}
videoInfo_ = input.readMessage(com.clarifai.grpc.api.VideoInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(videoInfo_);
videoInfo_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.clarifai.grpc.api.HostedURL.Builder subBuilder = null;
if (hostedThumbnail_ != null) {
subBuilder = hostedThumbnail_.toBuilder();
}
hostedThumbnail_ = input.readMessage(com.clarifai.grpc.api.HostedURL.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hostedThumbnail_);
hostedThumbnail_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_Video_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_Video_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.Video.class, com.clarifai.grpc.api.Video.Builder.class);
}
public static final int URL_FIELD_NUMBER = 1;
private volatile java.lang.Object url_;
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
url_ = s;
return s;
}
}
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASE64_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString base64_;
/**
*
* The base64 field is using video file bytes directly in the request.
* NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
* the name here).
* When using our grpc clients, you DO NOT need to base64 encode
* it yourself since the clients know how to do this for you automatically and will avoid the
* base64 encoding if they send a binary request.
*
*
* bytes base64 = 2;
* @return The base64.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBase64() {
return base64_;
}
public static final int ALLOW_DUPLICATE_URL_FIELD_NUMBER = 4;
private boolean allowDuplicateUrl_;
/**
* bool allow_duplicate_url = 4;
* @return The allowDuplicateUrl.
*/
@java.lang.Override
public boolean getAllowDuplicateUrl() {
return allowDuplicateUrl_;
}
public static final int THUMBNAIL_URL_FIELD_NUMBER = 5;
private volatile java.lang.Object thumbnailUrl_;
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The thumbnailUrl.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getThumbnailUrl() {
java.lang.Object ref = thumbnailUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
thumbnailUrl_ = s;
return s;
}
}
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The bytes for thumbnailUrl.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getThumbnailUrlBytes() {
java.lang.Object ref = thumbnailUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnailUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOSTED_FIELD_NUMBER = 6;
private com.clarifai.grpc.api.HostedURL hosted_;
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return Whether the hosted field is set.
*/
@java.lang.Override
public boolean hasHosted() {
return hosted_ != null;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return The hosted.
*/
@java.lang.Override
public com.clarifai.grpc.api.HostedURL getHosted() {
return hosted_ == null ? com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hosted_;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
@java.lang.Override
public com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder() {
return getHosted();
}
public static final int HOSTED_THUMBNAIL_FIELD_NUMBER = 8;
private com.clarifai.grpc.api.HostedURL hostedThumbnail_;
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return Whether the hostedThumbnail field is set.
*/
@java.lang.Override
public boolean hasHostedThumbnail() {
return hostedThumbnail_ != null;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return The hostedThumbnail.
*/
@java.lang.Override
public com.clarifai.grpc.api.HostedURL getHostedThumbnail() {
return hostedThumbnail_ == null ? com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hostedThumbnail_;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
@java.lang.Override
public com.clarifai.grpc.api.HostedURLOrBuilder getHostedThumbnailOrBuilder() {
return getHostedThumbnail();
}
public static final int VIDEO_INFO_FIELD_NUMBER = 7;
private com.clarifai.grpc.api.VideoInfo videoInfo_;
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return Whether the videoInfo field is set.
*/
@java.lang.Override
public boolean hasVideoInfo() {
return videoInfo_ != null;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return The videoInfo.
*/
@java.lang.Override
public com.clarifai.grpc.api.VideoInfo getVideoInfo() {
return videoInfo_ == null ? com.clarifai.grpc.api.VideoInfo.getDefaultInstance() : videoInfo_;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
@java.lang.Override
public com.clarifai.grpc.api.VideoInfoOrBuilder getVideoInfoOrBuilder() {
return getVideoInfo();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
}
if (!base64_.isEmpty()) {
output.writeBytes(2, base64_);
}
if (allowDuplicateUrl_ != false) {
output.writeBool(4, allowDuplicateUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(thumbnailUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, thumbnailUrl_);
}
if (hosted_ != null) {
output.writeMessage(6, getHosted());
}
if (videoInfo_ != null) {
output.writeMessage(7, getVideoInfo());
}
if (hostedThumbnail_ != null) {
output.writeMessage(8, getHostedThumbnail());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
}
if (!base64_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, base64_);
}
if (allowDuplicateUrl_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, allowDuplicateUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(thumbnailUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, thumbnailUrl_);
}
if (hosted_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getHosted());
}
if (videoInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getVideoInfo());
}
if (hostedThumbnail_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getHostedThumbnail());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.clarifai.grpc.api.Video)) {
return super.equals(obj);
}
com.clarifai.grpc.api.Video other = (com.clarifai.grpc.api.Video) obj;
if (!getUrl()
.equals(other.getUrl())) return false;
if (!getBase64()
.equals(other.getBase64())) return false;
if (getAllowDuplicateUrl()
!= other.getAllowDuplicateUrl()) return false;
if (!getThumbnailUrl()
.equals(other.getThumbnailUrl())) return false;
if (hasHosted() != other.hasHosted()) return false;
if (hasHosted()) {
if (!getHosted()
.equals(other.getHosted())) return false;
}
if (hasHostedThumbnail() != other.hasHostedThumbnail()) return false;
if (hasHostedThumbnail()) {
if (!getHostedThumbnail()
.equals(other.getHostedThumbnail())) return false;
}
if (hasVideoInfo() != other.hasVideoInfo()) return false;
if (hasVideoInfo()) {
if (!getVideoInfo()
.equals(other.getVideoInfo())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + URL_FIELD_NUMBER;
hash = (53 * hash) + getUrl().hashCode();
hash = (37 * hash) + BASE64_FIELD_NUMBER;
hash = (53 * hash) + getBase64().hashCode();
hash = (37 * hash) + ALLOW_DUPLICATE_URL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAllowDuplicateUrl());
hash = (37 * hash) + THUMBNAIL_URL_FIELD_NUMBER;
hash = (53 * hash) + getThumbnailUrl().hashCode();
if (hasHosted()) {
hash = (37 * hash) + HOSTED_FIELD_NUMBER;
hash = (53 * hash) + getHosted().hashCode();
}
if (hasHostedThumbnail()) {
hash = (37 * hash) + HOSTED_THUMBNAIL_FIELD_NUMBER;
hash = (53 * hash) + getHostedThumbnail().hashCode();
}
if (hasVideoInfo()) {
hash = (37 * hash) + VIDEO_INFO_FIELD_NUMBER;
hash = (53 * hash) + getVideoInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.clarifai.grpc.api.Video parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.Video parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.Video parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.Video parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.Video parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.Video parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.Video parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.Video parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.clarifai.grpc.api.Video parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.Video parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.clarifai.grpc.api.Video parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.Video parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.clarifai.grpc.api.Video prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Video
*
*
* Protobuf type {@code clarifai.api.Video}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:clarifai.api.Video)
com.clarifai.grpc.api.VideoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_Video_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_Video_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.Video.class, com.clarifai.grpc.api.Video.Builder.class);
}
// Construct using com.clarifai.grpc.api.Video.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
url_ = "";
base64_ = com.google.protobuf.ByteString.EMPTY;
allowDuplicateUrl_ = false;
thumbnailUrl_ = "";
if (hostedBuilder_ == null) {
hosted_ = null;
} else {
hosted_ = null;
hostedBuilder_ = null;
}
if (hostedThumbnailBuilder_ == null) {
hostedThumbnail_ = null;
} else {
hostedThumbnail_ = null;
hostedThumbnailBuilder_ = null;
}
if (videoInfoBuilder_ == null) {
videoInfo_ = null;
} else {
videoInfo_ = null;
videoInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_Video_descriptor;
}
@java.lang.Override
public com.clarifai.grpc.api.Video getDefaultInstanceForType() {
return com.clarifai.grpc.api.Video.getDefaultInstance();
}
@java.lang.Override
public com.clarifai.grpc.api.Video build() {
com.clarifai.grpc.api.Video result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.clarifai.grpc.api.Video buildPartial() {
com.clarifai.grpc.api.Video result = new com.clarifai.grpc.api.Video(this);
result.url_ = url_;
result.base64_ = base64_;
result.allowDuplicateUrl_ = allowDuplicateUrl_;
result.thumbnailUrl_ = thumbnailUrl_;
if (hostedBuilder_ == null) {
result.hosted_ = hosted_;
} else {
result.hosted_ = hostedBuilder_.build();
}
if (hostedThumbnailBuilder_ == null) {
result.hostedThumbnail_ = hostedThumbnail_;
} else {
result.hostedThumbnail_ = hostedThumbnailBuilder_.build();
}
if (videoInfoBuilder_ == null) {
result.videoInfo_ = videoInfo_;
} else {
result.videoInfo_ = videoInfoBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.clarifai.grpc.api.Video) {
return mergeFrom((com.clarifai.grpc.api.Video)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.clarifai.grpc.api.Video other) {
if (other == com.clarifai.grpc.api.Video.getDefaultInstance()) return this;
if (!other.getUrl().isEmpty()) {
url_ = other.url_;
onChanged();
}
if (other.getBase64() != com.google.protobuf.ByteString.EMPTY) {
setBase64(other.getBase64());
}
if (other.getAllowDuplicateUrl() != false) {
setAllowDuplicateUrl(other.getAllowDuplicateUrl());
}
if (!other.getThumbnailUrl().isEmpty()) {
thumbnailUrl_ = other.thumbnailUrl_;
onChanged();
}
if (other.hasHosted()) {
mergeHosted(other.getHosted());
}
if (other.hasHostedThumbnail()) {
mergeHostedThumbnail(other.getHostedThumbnail());
}
if (other.hasVideoInfo()) {
mergeVideoInfo(other.getVideoInfo());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.clarifai.grpc.api.Video parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.clarifai.grpc.api.Video) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object url_ = "";
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
url_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The bytes for url.
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
url_ = value;
onChanged();
return this;
}
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return This builder for chaining.
*/
public Builder clearUrl() {
url_ = getDefaultInstance().getUrl();
onChanged();
return this;
}
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
url_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString base64_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The base64 field is using video file bytes directly in the request.
* NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
* the name here).
* When using our grpc clients, you DO NOT need to base64 encode
* it yourself since the clients know how to do this for you automatically and will avoid the
* base64 encoding if they send a binary request.
*
*
* bytes base64 = 2;
* @return The base64.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBase64() {
return base64_;
}
/**
*
* The base64 field is using video file bytes directly in the request.
* NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
* the name here).
* When using our grpc clients, you DO NOT need to base64 encode
* it yourself since the clients know how to do this for you automatically and will avoid the
* base64 encoding if they send a binary request.
*
*
* bytes base64 = 2;
* @param value The base64 to set.
* @return This builder for chaining.
*/
public Builder setBase64(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
base64_ = value;
onChanged();
return this;
}
/**
*
* The base64 field is using video file bytes directly in the request.
* NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
* the name here).
* When using our grpc clients, you DO NOT need to base64 encode
* it yourself since the clients know how to do this for you automatically and will avoid the
* base64 encoding if they send a binary request.
*
*
* bytes base64 = 2;
* @return This builder for chaining.
*/
public Builder clearBase64() {
base64_ = getDefaultInstance().getBase64();
onChanged();
return this;
}
private boolean allowDuplicateUrl_ ;
/**
* bool allow_duplicate_url = 4;
* @return The allowDuplicateUrl.
*/
@java.lang.Override
public boolean getAllowDuplicateUrl() {
return allowDuplicateUrl_;
}
/**
* bool allow_duplicate_url = 4;
* @param value The allowDuplicateUrl to set.
* @return This builder for chaining.
*/
public Builder setAllowDuplicateUrl(boolean value) {
allowDuplicateUrl_ = value;
onChanged();
return this;
}
/**
* bool allow_duplicate_url = 4;
* @return This builder for chaining.
*/
public Builder clearAllowDuplicateUrl() {
allowDuplicateUrl_ = false;
onChanged();
return this;
}
private java.lang.Object thumbnailUrl_ = "";
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The thumbnailUrl.
*/
@java.lang.Deprecated public java.lang.String getThumbnailUrl() {
java.lang.Object ref = thumbnailUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
thumbnailUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The bytes for thumbnailUrl.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getThumbnailUrlBytes() {
java.lang.Object ref = thumbnailUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnailUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @param value The thumbnailUrl to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setThumbnailUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
thumbnailUrl_ = value;
onChanged();
return this;
}
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearThumbnailUrl() {
thumbnailUrl_ = getDefaultInstance().getThumbnailUrl();
onChanged();
return this;
}
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @param value The bytes for thumbnailUrl to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setThumbnailUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
thumbnailUrl_ = value;
onChanged();
return this;
}
private com.clarifai.grpc.api.HostedURL hosted_;
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder> hostedBuilder_;
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return Whether the hosted field is set.
*/
public boolean hasHosted() {
return hostedBuilder_ != null || hosted_ != null;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return The hosted.
*/
public com.clarifai.grpc.api.HostedURL getHosted() {
if (hostedBuilder_ == null) {
return hosted_ == null ? com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hosted_;
} else {
return hostedBuilder_.getMessage();
}
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public Builder setHosted(com.clarifai.grpc.api.HostedURL value) {
if (hostedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hosted_ = value;
onChanged();
} else {
hostedBuilder_.setMessage(value);
}
return this;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public Builder setHosted(
com.clarifai.grpc.api.HostedURL.Builder builderForValue) {
if (hostedBuilder_ == null) {
hosted_ = builderForValue.build();
onChanged();
} else {
hostedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public Builder mergeHosted(com.clarifai.grpc.api.HostedURL value) {
if (hostedBuilder_ == null) {
if (hosted_ != null) {
hosted_ =
com.clarifai.grpc.api.HostedURL.newBuilder(hosted_).mergeFrom(value).buildPartial();
} else {
hosted_ = value;
}
onChanged();
} else {
hostedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public Builder clearHosted() {
if (hostedBuilder_ == null) {
hosted_ = null;
onChanged();
} else {
hosted_ = null;
hostedBuilder_ = null;
}
return this;
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public com.clarifai.grpc.api.HostedURL.Builder getHostedBuilder() {
onChanged();
return getHostedFieldBuilder().getBuilder();
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
public com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder() {
if (hostedBuilder_ != null) {
return hostedBuilder_.getMessageOrBuilder();
} else {
return hosted_ == null ?
com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hosted_;
}
}
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder>
getHostedFieldBuilder() {
if (hostedBuilder_ == null) {
hostedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder>(
getHosted(),
getParentForChildren(),
isClean());
hosted_ = null;
}
return hostedBuilder_;
}
private com.clarifai.grpc.api.HostedURL hostedThumbnail_;
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder> hostedThumbnailBuilder_;
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return Whether the hostedThumbnail field is set.
*/
public boolean hasHostedThumbnail() {
return hostedThumbnailBuilder_ != null || hostedThumbnail_ != null;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return The hostedThumbnail.
*/
public com.clarifai.grpc.api.HostedURL getHostedThumbnail() {
if (hostedThumbnailBuilder_ == null) {
return hostedThumbnail_ == null ? com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hostedThumbnail_;
} else {
return hostedThumbnailBuilder_.getMessage();
}
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public Builder setHostedThumbnail(com.clarifai.grpc.api.HostedURL value) {
if (hostedThumbnailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hostedThumbnail_ = value;
onChanged();
} else {
hostedThumbnailBuilder_.setMessage(value);
}
return this;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public Builder setHostedThumbnail(
com.clarifai.grpc.api.HostedURL.Builder builderForValue) {
if (hostedThumbnailBuilder_ == null) {
hostedThumbnail_ = builderForValue.build();
onChanged();
} else {
hostedThumbnailBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public Builder mergeHostedThumbnail(com.clarifai.grpc.api.HostedURL value) {
if (hostedThumbnailBuilder_ == null) {
if (hostedThumbnail_ != null) {
hostedThumbnail_ =
com.clarifai.grpc.api.HostedURL.newBuilder(hostedThumbnail_).mergeFrom(value).buildPartial();
} else {
hostedThumbnail_ = value;
}
onChanged();
} else {
hostedThumbnailBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public Builder clearHostedThumbnail() {
if (hostedThumbnailBuilder_ == null) {
hostedThumbnail_ = null;
onChanged();
} else {
hostedThumbnail_ = null;
hostedThumbnailBuilder_ = null;
}
return this;
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public com.clarifai.grpc.api.HostedURL.Builder getHostedThumbnailBuilder() {
onChanged();
return getHostedThumbnailFieldBuilder().getBuilder();
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
public com.clarifai.grpc.api.HostedURLOrBuilder getHostedThumbnailOrBuilder() {
if (hostedThumbnailBuilder_ != null) {
return hostedThumbnailBuilder_.getMessageOrBuilder();
} else {
return hostedThumbnail_ == null ?
com.clarifai.grpc.api.HostedURL.getDefaultInstance() : hostedThumbnail_;
}
}
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder>
getHostedThumbnailFieldBuilder() {
if (hostedThumbnailBuilder_ == null) {
hostedThumbnailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.HostedURL, com.clarifai.grpc.api.HostedURL.Builder, com.clarifai.grpc.api.HostedURLOrBuilder>(
getHostedThumbnail(),
getParentForChildren(),
isClean());
hostedThumbnail_ = null;
}
return hostedThumbnailBuilder_;
}
private com.clarifai.grpc.api.VideoInfo videoInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.VideoInfo, com.clarifai.grpc.api.VideoInfo.Builder, com.clarifai.grpc.api.VideoInfoOrBuilder> videoInfoBuilder_;
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return Whether the videoInfo field is set.
*/
public boolean hasVideoInfo() {
return videoInfoBuilder_ != null || videoInfo_ != null;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return The videoInfo.
*/
public com.clarifai.grpc.api.VideoInfo getVideoInfo() {
if (videoInfoBuilder_ == null) {
return videoInfo_ == null ? com.clarifai.grpc.api.VideoInfo.getDefaultInstance() : videoInfo_;
} else {
return videoInfoBuilder_.getMessage();
}
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public Builder setVideoInfo(com.clarifai.grpc.api.VideoInfo value) {
if (videoInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
videoInfo_ = value;
onChanged();
} else {
videoInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public Builder setVideoInfo(
com.clarifai.grpc.api.VideoInfo.Builder builderForValue) {
if (videoInfoBuilder_ == null) {
videoInfo_ = builderForValue.build();
onChanged();
} else {
videoInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public Builder mergeVideoInfo(com.clarifai.grpc.api.VideoInfo value) {
if (videoInfoBuilder_ == null) {
if (videoInfo_ != null) {
videoInfo_ =
com.clarifai.grpc.api.VideoInfo.newBuilder(videoInfo_).mergeFrom(value).buildPartial();
} else {
videoInfo_ = value;
}
onChanged();
} else {
videoInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public Builder clearVideoInfo() {
if (videoInfoBuilder_ == null) {
videoInfo_ = null;
onChanged();
} else {
videoInfo_ = null;
videoInfoBuilder_ = null;
}
return this;
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public com.clarifai.grpc.api.VideoInfo.Builder getVideoInfoBuilder() {
onChanged();
return getVideoInfoFieldBuilder().getBuilder();
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
public com.clarifai.grpc.api.VideoInfoOrBuilder getVideoInfoOrBuilder() {
if (videoInfoBuilder_ != null) {
return videoInfoBuilder_.getMessageOrBuilder();
} else {
return videoInfo_ == null ?
com.clarifai.grpc.api.VideoInfo.getDefaultInstance() : videoInfo_;
}
}
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.VideoInfo, com.clarifai.grpc.api.VideoInfo.Builder, com.clarifai.grpc.api.VideoInfoOrBuilder>
getVideoInfoFieldBuilder() {
if (videoInfoBuilder_ == null) {
videoInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.clarifai.grpc.api.VideoInfo, com.clarifai.grpc.api.VideoInfo.Builder, com.clarifai.grpc.api.VideoInfoOrBuilder>(
getVideoInfo(),
getParentForChildren(),
isClean());
videoInfo_ = null;
}
return videoInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:clarifai.api.Video)
}
// @@protoc_insertion_point(class_scope:clarifai.api.Video)
private static final com.clarifai.grpc.api.Video DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.clarifai.grpc.api.Video();
}
public static com.clarifai.grpc.api.Video getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser