Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_media.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodSnapshot}
*/
public final class VodSnapshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodSnapshot)
VodSnapshotOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodSnapshot.newBuilder() to construct.
private VodSnapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private VodSnapshot() {
format_ = "";
storeUri_ = "";
url_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodSnapshot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodSnapshot(
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();
format_ = s;
break;
}
case 16: {
height_ = input.readInt32();
break;
}
case 24: {
width_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
storeUri_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
url_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.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.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodSnapshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodSnapshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodSnapshot.class, com.byteplus.service.vod.model.business.VodSnapshot.Builder.class);
}
public static final int FORMAT_FIELD_NUMBER = 1;
private volatile java.lang.Object format_;
/**
*
*格式
*
*
* string Format = 1;
* @return The format.
*/
@java.lang.Override
public java.lang.String getFormat() {
java.lang.Object ref = format_;
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();
format_ = s;
return s;
}
}
/**
*
*格式
*
*
* string Format = 1;
* @return The bytes for format.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HEIGHT_FIELD_NUMBER = 2;
private int height_;
/**
*
*高
*
*
* int32 Height = 2;
* @return The height.
*/
@java.lang.Override
public int getHeight() {
return height_;
}
public static final int WIDTH_FIELD_NUMBER = 3;
private int width_;
/**
*
*宽
*
*
* int32 Width = 3;
* @return The width.
*/
@java.lang.Override
public int getWidth() {
return width_;
}
public static final int STOREURI_FIELD_NUMBER = 4;
private volatile java.lang.Object storeUri_;
/**
*
*
* string Format = 1;
* @return The format.
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*格式
*
*
* string Format = 1;
* @return The bytes for format.
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*格式
*
*
* string Format = 1;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
return this;
}
/**
*
*格式
*
*
* string Format = 1;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
*
*格式
*
*
* string Format = 1;
* @param value The bytes for format to set.
* @return This builder for chaining.
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
format_ = value;
onChanged();
return this;
}
private int height_ ;
/**
*
*高
*
*
* int32 Height = 2;
* @return The height.
*/
@java.lang.Override
public int getHeight() {
return height_;
}
/**
*
*高
*
*
* int32 Height = 2;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(int value) {
height_ = value;
onChanged();
return this;
}
/**
*
*高
*
*
* int32 Height = 2;
* @return This builder for chaining.
*/
public Builder clearHeight() {
height_ = 0;
onChanged();
return this;
}
private int width_ ;
/**
*
*宽
*
*
* int32 Width = 3;
* @return The width.
*/
@java.lang.Override
public int getWidth() {
return width_;
}
/**
*
*宽
*
*
* int32 Width = 3;
* @param value The width to set.
* @return This builder for chaining.
*/
public Builder setWidth(int value) {
width_ = value;
onChanged();
return this;
}
/**
*