Please wait. This can take some minutes ...
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.
com.byteplus.service.vod.model.business.CommitResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_upload.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.CommitResponse}
*/
public final class CommitResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.CommitResponse)
CommitResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommitResponse.newBuilder() to construct.
private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CommitResponse() {
vid_ = "";
mid_ = "";
posterUri_ = "";
callbackArgs_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommitResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommitResponse(
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();
vid_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
mid_ = s;
break;
}
case 26: {
com.byteplus.service.vod.model.business.VodSourceInfo.Builder subBuilder = null;
if (sourceInfo_ != null) {
subBuilder = sourceInfo_.toBuilder();
}
sourceInfo_ = input.readMessage(com.byteplus.service.vod.model.business.VodSourceInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceInfo_);
sourceInfo_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
posterUri_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
callbackArgs_ = 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.VodUpload.internal_static_Byteplus_Vod_Models_Business_CommitResponse_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_CommitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.CommitResponse.class, com.byteplus.service.vod.model.business.CommitResponse.Builder.class);
}
public static final int VID_FIELD_NUMBER = 1;
private volatile java.lang.Object vid_;
/**
* string Vid = 1;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
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();
vid_ = s;
return s;
}
}
/**
* string Vid = 1;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.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;
}
}
public static final int MID_FIELD_NUMBER = 2;
private volatile java.lang.Object mid_;
/**
* string Mid = 2;
* @return The mid.
*/
@java.lang.Override
public java.lang.String getMid() {
java.lang.Object ref = mid_;
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();
mid_ = s;
return s;
}
}
/**
* string Mid = 2;
* @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;
}
}
public static final int SOURCEINFO_FIELD_NUMBER = 3;
private com.byteplus.service.vod.model.business.VodSourceInfo sourceInfo_;
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
* @return Whether the sourceInfo field is set.
*/
@java.lang.Override
public boolean hasSourceInfo() {
return sourceInfo_ != null;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
* @return The sourceInfo.
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodSourceInfo getSourceInfo() {
return sourceInfo_ == null ? com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() {
return getSourceInfo();
}
public static final int POSTERURI_FIELD_NUMBER = 4;
private volatile java.lang.Object posterUri_;
/**
* string PosterUri = 4;
* @return The posterUri.
*/
@java.lang.Override
public java.lang.String getPosterUri() {
java.lang.Object ref = posterUri_;
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();
posterUri_ = s;
return s;
}
}
/**
* string PosterUri = 4;
* @return The bytes for posterUri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPosterUriBytes() {
java.lang.Object ref = posterUri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
posterUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CALLBACKARGS_FIELD_NUMBER = 5;
private volatile java.lang.Object callbackArgs_;
/**
* string CallbackArgs = 5;
* @return The callbackArgs.
*/
@java.lang.Override
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
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();
callbackArgs_ = s;
return s;
}
}
/**
* string CallbackArgs = 5;
* @return The bytes for callbackArgs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mid_);
}
if (sourceInfo_ != null) {
output.writeMessage(3, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, posterUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, callbackArgs_);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mid_);
}
if (sourceInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, posterUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, callbackArgs_);
}
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.CommitResponse)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.CommitResponse other = (com.byteplus.service.vod.model.business.CommitResponse) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (!getMid()
.equals(other.getMid())) 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 (!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();
hash = (37 * hash) + MID_FIELD_NUMBER;
hash = (53 * hash) + getMid().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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.CommitResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.CommitResponse 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.CommitResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.CommitResponse 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.CommitResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse 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.CommitResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.CommitResponse)
com.byteplus.service.vod.model.business.CommitResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_CommitResponse_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_CommitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.CommitResponse.class, com.byteplus.service.vod.model.business.CommitResponse.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.CommitResponse.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_ = "";
mid_ = "";
if (sourceInfoBuilder_ == null) {
sourceInfo_ = null;
} else {
sourceInfo_ = null;
sourceInfoBuilder_ = null;
}
posterUri_ = "";
callbackArgs_ = "";
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_CommitResponse_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.CommitResponse getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.CommitResponse.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.CommitResponse build() {
com.byteplus.service.vod.model.business.CommitResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.CommitResponse buildPartial() {
com.byteplus.service.vod.model.business.CommitResponse result = new com.byteplus.service.vod.model.business.CommitResponse(this);
result.vid_ = vid_;
result.mid_ = mid_;
if (sourceInfoBuilder_ == null) {
result.sourceInfo_ = sourceInfo_;
} else {
result.sourceInfo_ = sourceInfoBuilder_.build();
}
result.posterUri_ = posterUri_;
result.callbackArgs_ = callbackArgs_;
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.CommitResponse) {
return mergeFrom((com.byteplus.service.vod.model.business.CommitResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.CommitResponse other) {
if (other == com.byteplus.service.vod.model.business.CommitResponse.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getMid().isEmpty()) {
mid_ = other.mid_;
onChanged();
}
if (other.hasSourceInfo()) {
mergeSourceInfo(other.getSourceInfo());
}
if (!other.getPosterUri().isEmpty()) {
posterUri_ = other.posterUri_;
onChanged();
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
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.CommitResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.CommitResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object vid_ = "";
/**
* 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;
}
}
/**
* 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;
}
}
/**
* 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;
}
/**
* string Vid = 1;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
* 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 java.lang.Object mid_ = "";
/**
* string Mid = 2;
* @return The mid.
*/
public java.lang.String getMid() {
java.lang.Object ref = mid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Mid = 2;
* @return The bytes for mid.
*/
public com.google.protobuf.ByteString
getMidBytes() {
java.lang.Object ref = mid_;
if (ref instanceof 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;
}
}
/**
* string Mid = 2;
* @param value The mid to set.
* @return This builder for chaining.
*/
public Builder setMid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mid_ = value;
onChanged();
return this;
}
/**
* string Mid = 2;
* @return This builder for chaining.
*/
public Builder clearMid() {
mid_ = getDefaultInstance().getMid();
onChanged();
return this;
}
/**
* string Mid = 2;
* @param value The bytes for mid to set.
* @return This builder for chaining.
*/
public Builder setMidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mid_ = 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 = 3;
* @return Whether the sourceInfo field is set.
*/
public boolean hasSourceInfo() {
return sourceInfoBuilder_ != null || sourceInfo_ != null;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
* @return The sourceInfo.
*/
public com.byteplus.service.vod.model.business.VodSourceInfo getSourceInfo() {
if (sourceInfoBuilder_ == null) {
return sourceInfo_ == null ? com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
} else {
return sourceInfoBuilder_.getMessage();
}
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public Builder setSourceInfo(com.byteplus.service.vod.model.business.VodSourceInfo value) {
if (sourceInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceInfo_ = value;
onChanged();
} else {
sourceInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public Builder setSourceInfo(
com.byteplus.service.vod.model.business.VodSourceInfo.Builder builderForValue) {
if (sourceInfoBuilder_ == null) {
sourceInfo_ = builderForValue.build();
onChanged();
} else {
sourceInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public Builder mergeSourceInfo(com.byteplus.service.vod.model.business.VodSourceInfo value) {
if (sourceInfoBuilder_ == null) {
if (sourceInfo_ != null) {
sourceInfo_ =
com.byteplus.service.vod.model.business.VodSourceInfo.newBuilder(sourceInfo_).mergeFrom(value).buildPartial();
} else {
sourceInfo_ = value;
}
onChanged();
} else {
sourceInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public Builder clearSourceInfo() {
if (sourceInfoBuilder_ == null) {
sourceInfo_ = null;
onChanged();
} else {
sourceInfo_ = null;
sourceInfoBuilder_ = null;
}
return this;
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public com.byteplus.service.vod.model.business.VodSourceInfo.Builder getSourceInfoBuilder() {
onChanged();
return getSourceInfoFieldBuilder().getBuilder();
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
public com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() {
if (sourceInfoBuilder_ != null) {
return sourceInfoBuilder_.getMessageOrBuilder();
} else {
return sourceInfo_ == null ?
com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
}
}
/**
* .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 3;
*/
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>
getSourceInfoFieldBuilder() {
if (sourceInfoBuilder_ == null) {
sourceInfoBuilder_ = new 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>(
getSourceInfo(),
getParentForChildren(),
isClean());
sourceInfo_ = null;
}
return sourceInfoBuilder_;
}
private java.lang.Object posterUri_ = "";
/**
* string PosterUri = 4;
* @return The posterUri.
*/
public java.lang.String getPosterUri() {
java.lang.Object ref = posterUri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
posterUri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string PosterUri = 4;
* @return The bytes for posterUri.
*/
public com.google.protobuf.ByteString
getPosterUriBytes() {
java.lang.Object ref = posterUri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
posterUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string PosterUri = 4;
* @param value The posterUri to set.
* @return This builder for chaining.
*/
public Builder setPosterUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
posterUri_ = value;
onChanged();
return this;
}
/**
* string PosterUri = 4;
* @return This builder for chaining.
*/
public Builder clearPosterUri() {
posterUri_ = getDefaultInstance().getPosterUri();
onChanged();
return this;
}
/**
* string PosterUri = 4;
* @param value The bytes for posterUri to set.
* @return This builder for chaining.
*/
public Builder setPosterUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
posterUri_ = value;
onChanged();
return this;
}
private java.lang.Object callbackArgs_ = "";
/**
* string CallbackArgs = 5;
* @return The callbackArgs.
*/
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callbackArgs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string CallbackArgs = 5;
* @return The bytes for callbackArgs.
*/
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string CallbackArgs = 5;
* @param value The callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callbackArgs_ = value;
onChanged();
return this;
}
/**
* string CallbackArgs = 5;
* @return This builder for chaining.
*/
public Builder clearCallbackArgs() {
callbackArgs_ = getDefaultInstance().getCallbackArgs();
onChanged();
return this;
}
/**
* string CallbackArgs = 5;
* @param value The bytes for callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callbackArgs_ = value;
onChanged();
return this;
}
@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:Byteplus.Vod.Models.Business.CommitResponse)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.CommitResponse)
private static final com.byteplus.service.vod.model.business.CommitResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.CommitResponse();
}
public static com.byteplus.service.vod.model.business.CommitResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CommitResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommitResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.CommitResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}