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.
*
* string Mid = 5;
* @return The bytes for mid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMidBytes() {
java.lang.Object ref = mid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_);
}
if (sourceInfo_ != null) {
output.writeMessage(2, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, posterUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, callbackArgs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mid_);
}
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(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_);
}
if (sourceInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, posterUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, callbackArgs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mid_);
}
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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData other = (com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (hasSourceInfo() != other.hasSourceInfo()) return false;
if (hasSourceInfo()) {
if (!getSourceInfo()
.equals(other.getSourceInfo())) return false;
}
if (!getPosterUri()
.equals(other.getPosterUri())) return false;
if (!getCallbackArgs()
.equals(other.getCallbackArgs())) return false;
if (!getMid()
.equals(other.getMid())) 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) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
if (hasSourceInfo()) {
hash = (37 * hash) + SOURCEINFO_FIELD_NUMBER;
hash = (53 * hash) + getSourceInfo().hashCode();
}
hash = (37 * hash) + POSTERURI_FIELD_NUMBER;
hash = (53 * hash) + getPosterUri().hashCode();
hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
hash = (53 * hash) + getCallbackArgs().hashCode();
hash = (37 * hash) + MID_FIELD_NUMBER;
hash = (53 * hash) + getMid().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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;
}
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData)
com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.class, com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.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();
vid_ = "";
if (sourceInfoBuilder_ == null) {
sourceInfo_ = null;
} else {
sourceInfo_ = null;
sourceInfoBuilder_ = null;
}
posterUri_ = "";
callbackArgs_ = "";
mid_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData build() {
com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData buildPartial() {
com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData result = new com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData(this);
result.vid_ = vid_;
if (sourceInfoBuilder_ == null) {
result.sourceInfo_ = sourceInfo_;
} else {
result.sourceInfo_ = sourceInfoBuilder_.build();
}
result.posterUri_ = posterUri_;
result.callbackArgs_ = callbackArgs_;
result.mid_ = mid_;
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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData) {
return mergeFrom((com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData other) {
if (other == com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (other.hasSourceInfo()) {
mergeSourceInfo(other.getSourceInfo());
}
if (!other.getPosterUri().isEmpty()) {
posterUri_ = other.posterUri_;
onChanged();
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
onChanged();
}
if (!other.getMid().isEmpty()) {
mid_ = other.mid_;
onChanged();
}
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.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object vid_ = "";
/**
*
* 视频的 id
*
*
* string Vid = 1;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 视频的 id
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 视频的 id
*
*
* string Vid = 1;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
*
* 视频的 id
*
*
* string Vid = 1;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
* 视频的 id
*
*
* string Vid = 1;
* @param value The bytes for vid to set.
* @return This builder for chaining.
*/
public Builder setVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vid_ = value;
onChanged();
return this;
}
private com.byteplus.service.vod.model.business.VodSourceInfo sourceInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.byteplus.service.vod.model.business.VodSourceInfo, com.byteplus.service.vod.model.business.VodSourceInfo.Builder, com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder> sourceInfoBuilder_;
/**
*
* 视频的元信息
*
*
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2;
* @return Whether the sourceInfo field is set.
*/
public boolean hasSourceInfo() {
return sourceInfoBuilder_ != null || sourceInfo_ != null;
}
/**
*