com.volcengine.service.vod.model.business.VodUploadAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: volcengine/vod/business/vod_upload.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodUploadAddress}
*/
public final class VodUploadAddress extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodUploadAddress)
VodUploadAddressOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodUploadAddress.newBuilder() to construct.
private VodUploadAddress(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodUploadAddress() {
storeInfos_ = java.util.Collections.emptyList();
uploadHosts_ = com.google.protobuf.LazyStringArrayList.EMPTY;
uploadHeader_ = java.util.Collections.emptyList();
sessionKey_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodUploadAddress();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodUploadAddress(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
storeInfos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
storeInfos_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodStoreInfo.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
uploadHosts_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
uploadHosts_.add(s);
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
uploadHeader_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
uploadHeader_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodHeaderPair.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
sessionKey_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
storeInfos_ = java.util.Collections.unmodifiableList(storeInfos_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
uploadHosts_ = uploadHosts_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
uploadHeader_ = java.util.Collections.unmodifiableList(uploadHeader_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadAddress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodUploadAddress.class, com.volcengine.service.vod.model.business.VodUploadAddress.Builder.class);
}
public static final int STOREINFOS_FIELD_NUMBER = 1;
private java.util.List storeInfos_;
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
@java.lang.Override
public java.util.List getStoreInfosList() {
return storeInfos_;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder>
getStoreInfosOrBuilderList() {
return storeInfos_;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
@java.lang.Override
public int getStoreInfosCount() {
return storeInfos_.size();
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodStoreInfo getStoreInfos(int index) {
return storeInfos_.get(index);
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder getStoreInfosOrBuilder(
int index) {
return storeInfos_.get(index);
}
public static final int UPLOADHOSTS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList uploadHosts_;
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @return A list containing the uploadHosts.
*/
public com.google.protobuf.ProtocolStringList
getUploadHostsList() {
return uploadHosts_;
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @return The count of uploadHosts.
*/
public int getUploadHostsCount() {
return uploadHosts_.size();
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param index The index of the element to return.
* @return The uploadHosts at the given index.
*/
public java.lang.String getUploadHosts(int index) {
return uploadHosts_.get(index);
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param index The index of the value to return.
* @return The bytes of the uploadHosts at the given index.
*/
public com.google.protobuf.ByteString
getUploadHostsBytes(int index) {
return uploadHosts_.getByteString(index);
}
public static final int UPLOADHEADER_FIELD_NUMBER = 3;
private java.util.List uploadHeader_;
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
@java.lang.Override
public java.util.List getUploadHeaderList() {
return uploadHeader_;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder>
getUploadHeaderOrBuilderList() {
return uploadHeader_;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
@java.lang.Override
public int getUploadHeaderCount() {
return uploadHeader_.size();
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodHeaderPair getUploadHeader(int index) {
return uploadHeader_.get(index);
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder getUploadHeaderOrBuilder(
int index) {
return uploadHeader_.get(index);
}
public static final int SESSIONKEY_FIELD_NUMBER = 4;
private volatile java.lang.Object sessionKey_;
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @return The sessionKey.
*/
@java.lang.Override
public java.lang.String getSessionKey() {
java.lang.Object ref = sessionKey_;
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();
sessionKey_ = s;
return s;
}
}
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @return The bytes for sessionKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionKeyBytes() {
java.lang.Object ref = sessionKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionKey_ = 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 {
for (int i = 0; i < storeInfos_.size(); i++) {
output.writeMessage(1, storeInfos_.get(i));
}
for (int i = 0; i < uploadHosts_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uploadHosts_.getRaw(i));
}
for (int i = 0; i < uploadHeader_.size(); i++) {
output.writeMessage(3, uploadHeader_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionKey_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < storeInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, storeInfos_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < uploadHosts_.size(); i++) {
dataSize += computeStringSizeNoTag(uploadHosts_.getRaw(i));
}
size += dataSize;
size += 1 * getUploadHostsList().size();
}
for (int i = 0; i < uploadHeader_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, uploadHeader_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionKey_);
}
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.volcengine.service.vod.model.business.VodUploadAddress)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodUploadAddress other = (com.volcengine.service.vod.model.business.VodUploadAddress) obj;
if (!getStoreInfosList()
.equals(other.getStoreInfosList())) return false;
if (!getUploadHostsList()
.equals(other.getUploadHostsList())) return false;
if (!getUploadHeaderList()
.equals(other.getUploadHeaderList())) return false;
if (!getSessionKey()
.equals(other.getSessionKey())) 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();
if (getStoreInfosCount() > 0) {
hash = (37 * hash) + STOREINFOS_FIELD_NUMBER;
hash = (53 * hash) + getStoreInfosList().hashCode();
}
if (getUploadHostsCount() > 0) {
hash = (37 * hash) + UPLOADHOSTS_FIELD_NUMBER;
hash = (53 * hash) + getUploadHostsList().hashCode();
}
if (getUploadHeaderCount() > 0) {
hash = (37 * hash) + UPLOADHEADER_FIELD_NUMBER;
hash = (53 * hash) + getUploadHeaderList().hashCode();
}
hash = (37 * hash) + SESSIONKEY_FIELD_NUMBER;
hash = (53 * hash) + getSessionKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress 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.volcengine.service.vod.model.business.VodUploadAddress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress 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.volcengine.service.vod.model.business.VodUploadAddress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodUploadAddress 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.volcengine.service.vod.model.business.VodUploadAddress 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 Volcengine.Vod.Models.Business.VodUploadAddress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodUploadAddress)
com.volcengine.service.vod.model.business.VodUploadAddressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadAddress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodUploadAddress.class, com.volcengine.service.vod.model.business.VodUploadAddress.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodUploadAddress.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStoreInfosFieldBuilder();
getUploadHeaderFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (storeInfosBuilder_ == null) {
storeInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
storeInfosBuilder_.clear();
}
uploadHosts_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
if (uploadHeaderBuilder_ == null) {
uploadHeader_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
uploadHeaderBuilder_.clear();
}
sessionKey_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadAddress_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadAddress getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodUploadAddress.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadAddress build() {
com.volcengine.service.vod.model.business.VodUploadAddress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadAddress buildPartial() {
com.volcengine.service.vod.model.business.VodUploadAddress result = new com.volcengine.service.vod.model.business.VodUploadAddress(this);
int from_bitField0_ = bitField0_;
if (storeInfosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
storeInfos_ = java.util.Collections.unmodifiableList(storeInfos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.storeInfos_ = storeInfos_;
} else {
result.storeInfos_ = storeInfosBuilder_.build();
}
if (((bitField0_ & 0x00000002) != 0)) {
uploadHosts_ = uploadHosts_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.uploadHosts_ = uploadHosts_;
if (uploadHeaderBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
uploadHeader_ = java.util.Collections.unmodifiableList(uploadHeader_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.uploadHeader_ = uploadHeader_;
} else {
result.uploadHeader_ = uploadHeaderBuilder_.build();
}
result.sessionKey_ = sessionKey_;
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.volcengine.service.vod.model.business.VodUploadAddress) {
return mergeFrom((com.volcengine.service.vod.model.business.VodUploadAddress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodUploadAddress other) {
if (other == com.volcengine.service.vod.model.business.VodUploadAddress.getDefaultInstance()) return this;
if (storeInfosBuilder_ == null) {
if (!other.storeInfos_.isEmpty()) {
if (storeInfos_.isEmpty()) {
storeInfos_ = other.storeInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStoreInfosIsMutable();
storeInfos_.addAll(other.storeInfos_);
}
onChanged();
}
} else {
if (!other.storeInfos_.isEmpty()) {
if (storeInfosBuilder_.isEmpty()) {
storeInfosBuilder_.dispose();
storeInfosBuilder_ = null;
storeInfos_ = other.storeInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
storeInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStoreInfosFieldBuilder() : null;
} else {
storeInfosBuilder_.addAllMessages(other.storeInfos_);
}
}
}
if (!other.uploadHosts_.isEmpty()) {
if (uploadHosts_.isEmpty()) {
uploadHosts_ = other.uploadHosts_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureUploadHostsIsMutable();
uploadHosts_.addAll(other.uploadHosts_);
}
onChanged();
}
if (uploadHeaderBuilder_ == null) {
if (!other.uploadHeader_.isEmpty()) {
if (uploadHeader_.isEmpty()) {
uploadHeader_ = other.uploadHeader_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureUploadHeaderIsMutable();
uploadHeader_.addAll(other.uploadHeader_);
}
onChanged();
}
} else {
if (!other.uploadHeader_.isEmpty()) {
if (uploadHeaderBuilder_.isEmpty()) {
uploadHeaderBuilder_.dispose();
uploadHeaderBuilder_ = null;
uploadHeader_ = other.uploadHeader_;
bitField0_ = (bitField0_ & ~0x00000004);
uploadHeaderBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUploadHeaderFieldBuilder() : null;
} else {
uploadHeaderBuilder_.addAllMessages(other.uploadHeader_);
}
}
}
if (!other.getSessionKey().isEmpty()) {
sessionKey_ = other.sessionKey_;
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.volcengine.service.vod.model.business.VodUploadAddress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodUploadAddress) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List storeInfos_ =
java.util.Collections.emptyList();
private void ensureStoreInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
storeInfos_ = new java.util.ArrayList(storeInfos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodStoreInfo, com.volcengine.service.vod.model.business.VodStoreInfo.Builder, com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder> storeInfosBuilder_;
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public java.util.List getStoreInfosList() {
if (storeInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(storeInfos_);
} else {
return storeInfosBuilder_.getMessageList();
}
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public int getStoreInfosCount() {
if (storeInfosBuilder_ == null) {
return storeInfos_.size();
} else {
return storeInfosBuilder_.getCount();
}
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodStoreInfo getStoreInfos(int index) {
if (storeInfosBuilder_ == null) {
return storeInfos_.get(index);
} else {
return storeInfosBuilder_.getMessage(index);
}
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder setStoreInfos(
int index, com.volcengine.service.vod.model.business.VodStoreInfo value) {
if (storeInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreInfosIsMutable();
storeInfos_.set(index, value);
onChanged();
} else {
storeInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder setStoreInfos(
int index, com.volcengine.service.vod.model.business.VodStoreInfo.Builder builderForValue) {
if (storeInfosBuilder_ == null) {
ensureStoreInfosIsMutable();
storeInfos_.set(index, builderForValue.build());
onChanged();
} else {
storeInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder addStoreInfos(com.volcengine.service.vod.model.business.VodStoreInfo value) {
if (storeInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreInfosIsMutable();
storeInfos_.add(value);
onChanged();
} else {
storeInfosBuilder_.addMessage(value);
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder addStoreInfos(
int index, com.volcengine.service.vod.model.business.VodStoreInfo value) {
if (storeInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreInfosIsMutable();
storeInfos_.add(index, value);
onChanged();
} else {
storeInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder addStoreInfos(
com.volcengine.service.vod.model.business.VodStoreInfo.Builder builderForValue) {
if (storeInfosBuilder_ == null) {
ensureStoreInfosIsMutable();
storeInfos_.add(builderForValue.build());
onChanged();
} else {
storeInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder addStoreInfos(
int index, com.volcengine.service.vod.model.business.VodStoreInfo.Builder builderForValue) {
if (storeInfosBuilder_ == null) {
ensureStoreInfosIsMutable();
storeInfos_.add(index, builderForValue.build());
onChanged();
} else {
storeInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder addAllStoreInfos(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodStoreInfo> values) {
if (storeInfosBuilder_ == null) {
ensureStoreInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, storeInfos_);
onChanged();
} else {
storeInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder clearStoreInfos() {
if (storeInfosBuilder_ == null) {
storeInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
storeInfosBuilder_.clear();
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public Builder removeStoreInfos(int index) {
if (storeInfosBuilder_ == null) {
ensureStoreInfosIsMutable();
storeInfos_.remove(index);
onChanged();
} else {
storeInfosBuilder_.remove(index);
}
return this;
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodStoreInfo.Builder getStoreInfosBuilder(
int index) {
return getStoreInfosFieldBuilder().getBuilder(index);
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder getStoreInfosOrBuilder(
int index) {
if (storeInfosBuilder_ == null) {
return storeInfos_.get(index); } else {
return storeInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder>
getStoreInfosOrBuilderList() {
if (storeInfosBuilder_ != null) {
return storeInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(storeInfos_);
}
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodStoreInfo.Builder addStoreInfosBuilder() {
return getStoreInfosFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodStoreInfo.getDefaultInstance());
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodStoreInfo.Builder addStoreInfosBuilder(
int index) {
return getStoreInfosFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodStoreInfo.getDefaultInstance());
}
/**
*
* 1001 阶段返回指定存储相关信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodStoreInfo StoreInfos = 1;
*/
public java.util.List
getStoreInfosBuilderList() {
return getStoreInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodStoreInfo, com.volcengine.service.vod.model.business.VodStoreInfo.Builder, com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder>
getStoreInfosFieldBuilder() {
if (storeInfosBuilder_ == null) {
storeInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodStoreInfo, com.volcengine.service.vod.model.business.VodStoreInfo.Builder, com.volcengine.service.vod.model.business.VodStoreInfoOrBuilder>(
storeInfos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
storeInfos_ = null;
}
return storeInfosBuilder_;
}
private com.google.protobuf.LazyStringList uploadHosts_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureUploadHostsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
uploadHosts_ = new com.google.protobuf.LazyStringArrayList(uploadHosts_);
bitField0_ |= 0x00000002;
}
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @return A list containing the uploadHosts.
*/
public com.google.protobuf.ProtocolStringList
getUploadHostsList() {
return uploadHosts_.getUnmodifiableView();
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @return The count of uploadHosts.
*/
public int getUploadHostsCount() {
return uploadHosts_.size();
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param index The index of the element to return.
* @return The uploadHosts at the given index.
*/
public java.lang.String getUploadHosts(int index) {
return uploadHosts_.get(index);
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param index The index of the value to return.
* @return The bytes of the uploadHosts at the given index.
*/
public com.google.protobuf.ByteString
getUploadHostsBytes(int index) {
return uploadHosts_.getByteString(index);
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param index The index to set the value at.
* @param value The uploadHosts to set.
* @return This builder for chaining.
*/
public Builder setUploadHosts(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUploadHostsIsMutable();
uploadHosts_.set(index, value);
onChanged();
return this;
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param value The uploadHosts to add.
* @return This builder for chaining.
*/
public Builder addUploadHosts(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUploadHostsIsMutable();
uploadHosts_.add(value);
onChanged();
return this;
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param values The uploadHosts to add.
* @return This builder for chaining.
*/
public Builder addAllUploadHosts(
java.lang.Iterable values) {
ensureUploadHostsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, uploadHosts_);
onChanged();
return this;
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @return This builder for chaining.
*/
public Builder clearUploadHosts() {
uploadHosts_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* 1001 阶段返回指定的上传域名
*
*
* repeated string UploadHosts = 2;
* @param value The bytes of the uploadHosts to add.
* @return This builder for chaining.
*/
public Builder addUploadHostsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureUploadHostsIsMutable();
uploadHosts_.add(value);
onChanged();
return this;
}
private java.util.List uploadHeader_ =
java.util.Collections.emptyList();
private void ensureUploadHeaderIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
uploadHeader_ = new java.util.ArrayList(uploadHeader_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodHeaderPair, com.volcengine.service.vod.model.business.VodHeaderPair.Builder, com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder> uploadHeaderBuilder_;
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public java.util.List getUploadHeaderList() {
if (uploadHeaderBuilder_ == null) {
return java.util.Collections.unmodifiableList(uploadHeader_);
} else {
return uploadHeaderBuilder_.getMessageList();
}
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public int getUploadHeaderCount() {
if (uploadHeaderBuilder_ == null) {
return uploadHeader_.size();
} else {
return uploadHeaderBuilder_.getCount();
}
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public com.volcengine.service.vod.model.business.VodHeaderPair getUploadHeader(int index) {
if (uploadHeaderBuilder_ == null) {
return uploadHeader_.get(index);
} else {
return uploadHeaderBuilder_.getMessage(index);
}
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder setUploadHeader(
int index, com.volcengine.service.vod.model.business.VodHeaderPair value) {
if (uploadHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUploadHeaderIsMutable();
uploadHeader_.set(index, value);
onChanged();
} else {
uploadHeaderBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder setUploadHeader(
int index, com.volcengine.service.vod.model.business.VodHeaderPair.Builder builderForValue) {
if (uploadHeaderBuilder_ == null) {
ensureUploadHeaderIsMutable();
uploadHeader_.set(index, builderForValue.build());
onChanged();
} else {
uploadHeaderBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder addUploadHeader(com.volcengine.service.vod.model.business.VodHeaderPair value) {
if (uploadHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUploadHeaderIsMutable();
uploadHeader_.add(value);
onChanged();
} else {
uploadHeaderBuilder_.addMessage(value);
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder addUploadHeader(
int index, com.volcengine.service.vod.model.business.VodHeaderPair value) {
if (uploadHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUploadHeaderIsMutable();
uploadHeader_.add(index, value);
onChanged();
} else {
uploadHeaderBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder addUploadHeader(
com.volcengine.service.vod.model.business.VodHeaderPair.Builder builderForValue) {
if (uploadHeaderBuilder_ == null) {
ensureUploadHeaderIsMutable();
uploadHeader_.add(builderForValue.build());
onChanged();
} else {
uploadHeaderBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder addUploadHeader(
int index, com.volcengine.service.vod.model.business.VodHeaderPair.Builder builderForValue) {
if (uploadHeaderBuilder_ == null) {
ensureUploadHeaderIsMutable();
uploadHeader_.add(index, builderForValue.build());
onChanged();
} else {
uploadHeaderBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder addAllUploadHeader(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodHeaderPair> values) {
if (uploadHeaderBuilder_ == null) {
ensureUploadHeaderIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, uploadHeader_);
onChanged();
} else {
uploadHeaderBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder clearUploadHeader() {
if (uploadHeaderBuilder_ == null) {
uploadHeader_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
uploadHeaderBuilder_.clear();
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public Builder removeUploadHeader(int index) {
if (uploadHeaderBuilder_ == null) {
ensureUploadHeaderIsMutable();
uploadHeader_.remove(index);
onChanged();
} else {
uploadHeaderBuilder_.remove(index);
}
return this;
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public com.volcengine.service.vod.model.business.VodHeaderPair.Builder getUploadHeaderBuilder(
int index) {
return getUploadHeaderFieldBuilder().getBuilder(index);
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder getUploadHeaderOrBuilder(
int index) {
if (uploadHeaderBuilder_ == null) {
return uploadHeader_.get(index); } else {
return uploadHeaderBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder>
getUploadHeaderOrBuilderList() {
if (uploadHeaderBuilder_ != null) {
return uploadHeaderBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uploadHeader_);
}
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public com.volcengine.service.vod.model.business.VodHeaderPair.Builder addUploadHeaderBuilder() {
return getUploadHeaderFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodHeaderPair.getDefaultInstance());
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public com.volcengine.service.vod.model.business.VodHeaderPair.Builder addUploadHeaderBuilder(
int index) {
return getUploadHeaderFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodHeaderPair.getDefaultInstance());
}
/**
*
* 1001 阶段返回指定上传带的头信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodHeaderPair UploadHeader = 3;
*/
public java.util.List
getUploadHeaderBuilderList() {
return getUploadHeaderFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodHeaderPair, com.volcengine.service.vod.model.business.VodHeaderPair.Builder, com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder>
getUploadHeaderFieldBuilder() {
if (uploadHeaderBuilder_ == null) {
uploadHeaderBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodHeaderPair, com.volcengine.service.vod.model.business.VodHeaderPair.Builder, com.volcengine.service.vod.model.business.VodHeaderPairOrBuilder>(
uploadHeader_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
uploadHeader_ = null;
}
return uploadHeaderBuilder_;
}
private java.lang.Object sessionKey_ = "";
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @return The sessionKey.
*/
public java.lang.String getSessionKey() {
java.lang.Object ref = sessionKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sessionKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @return The bytes for sessionKey.
*/
public com.google.protobuf.ByteString
getSessionKeyBytes() {
java.lang.Object ref = sessionKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @param value The sessionKey to set.
* @return This builder for chaining.
*/
public Builder setSessionKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sessionKey_ = value;
onChanged();
return this;
}
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @return This builder for chaining.
*/
public Builder clearSessionKey() {
sessionKey_ = getDefaultInstance().getSessionKey();
onChanged();
return this;
}
/**
*
* 1001 阶段返回的 Session 信息
*
*
* string SessionKey = 4;
* @param value The bytes for sessionKey to set.
* @return This builder for chaining.
*/
public Builder setSessionKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sessionKey_ = 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:Volcengine.Vod.Models.Business.VodUploadAddress)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodUploadAddress)
private static final com.volcengine.service.vod.model.business.VodUploadAddress DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodUploadAddress();
}
public static com.volcengine.service.vod.model.business.VodUploadAddress getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodUploadAddress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodUploadAddress(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.volcengine.service.vod.model.business.VodUploadAddress getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy