com.volcengine.service.vod.model.business.LogoTemplate 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_workflow.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.LogoTemplate}
*/
public final class LogoTemplate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.LogoTemplate)
LogoTemplateOrBuilder {
private static final long serialVersionUID = 0L;
// Use LogoTemplate.newBuilder() to construct.
private LogoTemplate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LogoTemplate() {
templateId_ = "";
spaceName_ = "";
name_ = "";
description_ = "";
type_ = "";
hash_ = "";
logoType_ = "";
logos_ = java.util.Collections.emptyList();
concats_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LogoTemplate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LogoTemplate(
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: {
java.lang.String s = input.readStringRequireUtf8();
templateId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 74: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createdAt_ != null) {
subBuilder = createdAt_.toBuilder();
}
createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createdAt_);
createdAt_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updatedAt_ != null) {
subBuilder = updatedAt_.toBuilder();
}
updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedAt_);
updatedAt_ = subBuilder.buildPartial();
}
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
hash_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
logoType_ = s;
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
logos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
logos_.add(
input.readMessage(com.volcengine.service.vod.model.business.AdaptLogo.parser(), extensionRegistry));
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
concats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
concats_.add(
input.readMessage(com.volcengine.service.vod.model.business.AdaptConcat.parser(), extensionRegistry));
break;
}
case 122: {
com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder subBuilder = null;
if (hiddenWatermark_ != null) {
subBuilder = hiddenWatermark_.toBuilder();
}
hiddenWatermark_ = input.readMessage(com.volcengine.service.vod.model.business.HiddenWatermarkAdd.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hiddenWatermark_);
hiddenWatermark_ = subBuilder.buildPartial();
}
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)) {
logos_ = java.util.Collections.unmodifiableList(logos_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
concats_ = java.util.Collections.unmodifiableList(concats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_LogoTemplate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_LogoTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.LogoTemplate.class, com.volcengine.service.vod.model.business.LogoTemplate.Builder.class);
}
public static final int TEMPLATEID_FIELD_NUMBER = 1;
private volatile java.lang.Object templateId_;
/**
* string TemplateId = 1;
* @return The templateId.
*/
@java.lang.Override
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
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();
templateId_ = s;
return s;
}
}
/**
* string TemplateId = 1;
* @return The bytes for templateId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SPACENAME_FIELD_NUMBER = 2;
private volatile java.lang.Object spaceName_;
/**
* string SpaceName = 2;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
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();
spaceName_ = s;
return s;
}
}
/**
* string SpaceName = 2;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
* string Name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string Name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 4;
private volatile java.lang.Object description_;
/**
* string Description = 4;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string Description = 4;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 6;
private volatile java.lang.Object type_;
/**
* string Type = 6;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
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();
type_ = s;
return s;
}
}
/**
* string Type = 6;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATEDAT_FIELD_NUMBER = 9;
private com.google.protobuf.Timestamp createdAt_;
/**
* .google.protobuf.Timestamp CreatedAt = 9;
* @return Whether the createdAt field is set.
*/
@java.lang.Override
public boolean hasCreatedAt() {
return createdAt_ != null;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
* @return The createdAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreatedAt() {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
return getCreatedAt();
}
public static final int UPDATEDAT_FIELD_NUMBER = 10;
private com.google.protobuf.Timestamp updatedAt_;
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
* @return Whether the updatedAt field is set.
*/
@java.lang.Override
public boolean hasUpdatedAt() {
return updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
* @return The updatedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getUpdatedAt() {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
return getUpdatedAt();
}
public static final int HASH_FIELD_NUMBER = 11;
private volatile java.lang.Object hash_;
/**
* string Hash = 11;
* @return The hash.
*/
@java.lang.Override
public java.lang.String getHash() {
java.lang.Object ref = hash_;
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();
hash_ = s;
return s;
}
}
/**
* string Hash = 11;
* @return The bytes for hash.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGOTYPE_FIELD_NUMBER = 12;
private volatile java.lang.Object logoType_;
/**
* string LogoType = 12;
* @return The logoType.
*/
@java.lang.Override
public java.lang.String getLogoType() {
java.lang.Object ref = logoType_;
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();
logoType_ = s;
return s;
}
}
/**
* string LogoType = 12;
* @return The bytes for logoType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoTypeBytes() {
java.lang.Object ref = logoType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logoType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGOS_FIELD_NUMBER = 13;
private java.util.List logos_;
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
@java.lang.Override
public java.util.List getLogosList() {
return logos_;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.AdaptLogoOrBuilder>
getLogosOrBuilderList() {
return logos_;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
@java.lang.Override
public int getLogosCount() {
return logos_.size();
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AdaptLogo getLogos(int index) {
return logos_.get(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AdaptLogoOrBuilder getLogosOrBuilder(
int index) {
return logos_.get(index);
}
public static final int CONCATS_FIELD_NUMBER = 14;
private java.util.List concats_;
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
@java.lang.Override
public java.util.List getConcatsList() {
return concats_;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.AdaptConcatOrBuilder>
getConcatsOrBuilderList() {
return concats_;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
@java.lang.Override
public int getConcatsCount() {
return concats_.size();
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AdaptConcat getConcats(int index) {
return concats_.get(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AdaptConcatOrBuilder getConcatsOrBuilder(
int index) {
return concats_.get(index);
}
public static final int HIDDENWATERMARK_FIELD_NUMBER = 15;
private com.volcengine.service.vod.model.business.HiddenWatermarkAdd hiddenWatermark_;
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
* @return Whether the hiddenWatermark field is set.
*/
@java.lang.Override
public boolean hasHiddenWatermark() {
return hiddenWatermark_ != null;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
* @return The hiddenWatermark.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.HiddenWatermarkAdd getHiddenWatermark() {
return hiddenWatermark_ == null ? com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder getHiddenWatermarkOrBuilder() {
return getHiddenWatermark();
}
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(templateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, type_);
}
if (createdAt_ != null) {
output.writeMessage(9, getCreatedAt());
}
if (updatedAt_ != null) {
output.writeMessage(10, getUpdatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, hash_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logoType_);
}
for (int i = 0; i < logos_.size(); i++) {
output.writeMessage(13, logos_.get(i));
}
for (int i = 0; i < concats_.size(); i++) {
output.writeMessage(14, concats_.get(i));
}
if (hiddenWatermark_ != null) {
output.writeMessage(15, getHiddenWatermark());
}
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(templateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, type_);
}
if (createdAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getCreatedAt());
}
if (updatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getUpdatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, hash_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logoType_);
}
for (int i = 0; i < logos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, logos_.get(i));
}
for (int i = 0; i < concats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, concats_.get(i));
}
if (hiddenWatermark_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getHiddenWatermark());
}
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.LogoTemplate)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.LogoTemplate other = (com.volcengine.service.vod.model.business.LogoTemplate) obj;
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getType()
.equals(other.getType())) return false;
if (hasCreatedAt() != other.hasCreatedAt()) return false;
if (hasCreatedAt()) {
if (!getCreatedAt()
.equals(other.getCreatedAt())) return false;
}
if (hasUpdatedAt() != other.hasUpdatedAt()) return false;
if (hasUpdatedAt()) {
if (!getUpdatedAt()
.equals(other.getUpdatedAt())) return false;
}
if (!getHash()
.equals(other.getHash())) return false;
if (!getLogoType()
.equals(other.getLogoType())) return false;
if (!getLogosList()
.equals(other.getLogosList())) return false;
if (!getConcatsList()
.equals(other.getConcatsList())) return false;
if (hasHiddenWatermark() != other.hasHiddenWatermark()) return false;
if (hasHiddenWatermark()) {
if (!getHiddenWatermark()
.equals(other.getHiddenWatermark())) 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) + TEMPLATEID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
if (hasCreatedAt()) {
hash = (37 * hash) + CREATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getCreatedAt().hashCode();
}
if (hasUpdatedAt()) {
hash = (37 * hash) + UPDATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedAt().hashCode();
}
hash = (37 * hash) + HASH_FIELD_NUMBER;
hash = (53 * hash) + getHash().hashCode();
hash = (37 * hash) + LOGOTYPE_FIELD_NUMBER;
hash = (53 * hash) + getLogoType().hashCode();
if (getLogosCount() > 0) {
hash = (37 * hash) + LOGOS_FIELD_NUMBER;
hash = (53 * hash) + getLogosList().hashCode();
}
if (getConcatsCount() > 0) {
hash = (37 * hash) + CONCATS_FIELD_NUMBER;
hash = (53 * hash) + getConcatsList().hashCode();
}
if (hasHiddenWatermark()) {
hash = (37 * hash) + HIDDENWATERMARK_FIELD_NUMBER;
hash = (53 * hash) + getHiddenWatermark().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.LogoTemplate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.LogoTemplate 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.LogoTemplate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.LogoTemplate 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.LogoTemplate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate 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.LogoTemplate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.LogoTemplate)
com.volcengine.service.vod.model.business.LogoTemplateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_LogoTemplate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_LogoTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.LogoTemplate.class, com.volcengine.service.vod.model.business.LogoTemplate.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.LogoTemplate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLogosFieldBuilder();
getConcatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
templateId_ = "";
spaceName_ = "";
name_ = "";
description_ = "";
type_ = "";
if (createdAtBuilder_ == null) {
createdAt_ = null;
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
hash_ = "";
logoType_ = "";
if (logosBuilder_ == null) {
logos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
logosBuilder_.clear();
}
if (concatsBuilder_ == null) {
concats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
concatsBuilder_.clear();
}
if (hiddenWatermarkBuilder_ == null) {
hiddenWatermark_ = null;
} else {
hiddenWatermark_ = null;
hiddenWatermarkBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_LogoTemplate_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.LogoTemplate getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.LogoTemplate.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.LogoTemplate build() {
com.volcengine.service.vod.model.business.LogoTemplate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.LogoTemplate buildPartial() {
com.volcengine.service.vod.model.business.LogoTemplate result = new com.volcengine.service.vod.model.business.LogoTemplate(this);
int from_bitField0_ = bitField0_;
result.templateId_ = templateId_;
result.spaceName_ = spaceName_;
result.name_ = name_;
result.description_ = description_;
result.type_ = type_;
if (createdAtBuilder_ == null) {
result.createdAt_ = createdAt_;
} else {
result.createdAt_ = createdAtBuilder_.build();
}
if (updatedAtBuilder_ == null) {
result.updatedAt_ = updatedAt_;
} else {
result.updatedAt_ = updatedAtBuilder_.build();
}
result.hash_ = hash_;
result.logoType_ = logoType_;
if (logosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
logos_ = java.util.Collections.unmodifiableList(logos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.logos_ = logos_;
} else {
result.logos_ = logosBuilder_.build();
}
if (concatsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
concats_ = java.util.Collections.unmodifiableList(concats_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.concats_ = concats_;
} else {
result.concats_ = concatsBuilder_.build();
}
if (hiddenWatermarkBuilder_ == null) {
result.hiddenWatermark_ = hiddenWatermark_;
} else {
result.hiddenWatermark_ = hiddenWatermarkBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.volcengine.service.vod.model.business.LogoTemplate) {
return mergeFrom((com.volcengine.service.vod.model.business.LogoTemplate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.LogoTemplate other) {
if (other == com.volcengine.service.vod.model.business.LogoTemplate.getDefaultInstance()) return this;
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
if (other.hasUpdatedAt()) {
mergeUpdatedAt(other.getUpdatedAt());
}
if (!other.getHash().isEmpty()) {
hash_ = other.hash_;
onChanged();
}
if (!other.getLogoType().isEmpty()) {
logoType_ = other.logoType_;
onChanged();
}
if (logosBuilder_ == null) {
if (!other.logos_.isEmpty()) {
if (logos_.isEmpty()) {
logos_ = other.logos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLogosIsMutable();
logos_.addAll(other.logos_);
}
onChanged();
}
} else {
if (!other.logos_.isEmpty()) {
if (logosBuilder_.isEmpty()) {
logosBuilder_.dispose();
logosBuilder_ = null;
logos_ = other.logos_;
bitField0_ = (bitField0_ & ~0x00000001);
logosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLogosFieldBuilder() : null;
} else {
logosBuilder_.addAllMessages(other.logos_);
}
}
}
if (concatsBuilder_ == null) {
if (!other.concats_.isEmpty()) {
if (concats_.isEmpty()) {
concats_ = other.concats_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConcatsIsMutable();
concats_.addAll(other.concats_);
}
onChanged();
}
} else {
if (!other.concats_.isEmpty()) {
if (concatsBuilder_.isEmpty()) {
concatsBuilder_.dispose();
concatsBuilder_ = null;
concats_ = other.concats_;
bitField0_ = (bitField0_ & ~0x00000002);
concatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConcatsFieldBuilder() : null;
} else {
concatsBuilder_.addAllMessages(other.concats_);
}
}
}
if (other.hasHiddenWatermark()) {
mergeHiddenWatermark(other.getHiddenWatermark());
}
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.LogoTemplate parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.LogoTemplate) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object templateId_ = "";
/**
* string TemplateId = 1;
* @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string TemplateId = 1;
* @return The bytes for templateId.
*/
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string TemplateId = 1;
* @param value The templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateId_ = value;
onChanged();
return this;
}
/**
* string TemplateId = 1;
* @return This builder for chaining.
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
* string TemplateId = 1;
* @param value The bytes for templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateId_ = value;
onChanged();
return this;
}
private java.lang.Object spaceName_ = "";
/**
* string SpaceName = 2;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string SpaceName = 2;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string SpaceName = 2;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
* string SpaceName = 2;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
* string SpaceName = 2;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string Name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Name = 3;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string Name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string Name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string Description = 4;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Description = 4;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Description = 4;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string Description = 4;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string Description = 4;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
* string Type = 6;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Type = 6;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Type = 6;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
* string Type = 6;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* string Type = 6;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createdAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_;
/**
* .google.protobuf.Timestamp CreatedAt = 9;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAtBuilder_ != null || createdAt_ != null;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
* @return The createdAt.
*/
public com.google.protobuf.Timestamp getCreatedAt() {
if (createdAtBuilder_ == null) {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
} else {
return createdAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdAt_ = value;
onChanged();
} else {
createdAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public Builder setCreatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdAtBuilder_ == null) {
createdAt_ = builderForValue.build();
onChanged();
} else {
createdAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (createdAt_ != null) {
createdAt_ =
com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
} else {
createdAt_ = value;
}
onChanged();
} else {
createdAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public Builder clearCreatedAt() {
if (createdAtBuilder_ == null) {
createdAt_ = null;
onChanged();
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
if (createdAtBuilder_ != null) {
return createdAtBuilder_.getMessageOrBuilder();
} else {
return createdAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
}
/**
* .google.protobuf.Timestamp CreatedAt = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedAtFieldBuilder() {
if (createdAtBuilder_ == null) {
createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreatedAt(),
getParentForChildren(),
isClean());
createdAt_ = null;
}
return createdAtBuilder_;
}
private com.google.protobuf.Timestamp updatedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_;
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
* @return Whether the updatedAt field is set.
*/
public boolean hasUpdatedAt() {
return updatedAtBuilder_ != null || updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
* @return The updatedAt.
*/
public com.google.protobuf.Timestamp getUpdatedAt() {
if (updatedAtBuilder_ == null) {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
} else {
return updatedAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public Builder setUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedAt_ = value;
onChanged();
} else {
updatedAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public Builder setUpdatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (updatedAtBuilder_ == null) {
updatedAt_ = builderForValue.build();
onChanged();
} else {
updatedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (updatedAt_ != null) {
updatedAt_ =
com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial();
} else {
updatedAt_ = value;
}
onChanged();
} else {
updatedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public Builder clearUpdatedAt() {
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
onChanged();
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() {
onChanged();
return getUpdatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
if (updatedAtBuilder_ != null) {
return updatedAtBuilder_.getMessageOrBuilder();
} else {
return updatedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
}
/**
* .google.protobuf.Timestamp UpdatedAt = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getUpdatedAtFieldBuilder() {
if (updatedAtBuilder_ == null) {
updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getUpdatedAt(),
getParentForChildren(),
isClean());
updatedAt_ = null;
}
return updatedAtBuilder_;
}
private java.lang.Object hash_ = "";
/**
* string Hash = 11;
* @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hash_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Hash = 11;
* @return The bytes for hash.
*/
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Hash = 11;
* @param value The hash to set.
* @return This builder for chaining.
*/
public Builder setHash(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hash_ = value;
onChanged();
return this;
}
/**
* string Hash = 11;
* @return This builder for chaining.
*/
public Builder clearHash() {
hash_ = getDefaultInstance().getHash();
onChanged();
return this;
}
/**
* string Hash = 11;
* @param value The bytes for hash to set.
* @return This builder for chaining.
*/
public Builder setHashBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hash_ = value;
onChanged();
return this;
}
private java.lang.Object logoType_ = "";
/**
* string LogoType = 12;
* @return The logoType.
*/
public java.lang.String getLogoType() {
java.lang.Object ref = logoType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logoType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LogoType = 12;
* @return The bytes for logoType.
*/
public com.google.protobuf.ByteString
getLogoTypeBytes() {
java.lang.Object ref = logoType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logoType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LogoType = 12;
* @param value The logoType to set.
* @return This builder for chaining.
*/
public Builder setLogoType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logoType_ = value;
onChanged();
return this;
}
/**
* string LogoType = 12;
* @return This builder for chaining.
*/
public Builder clearLogoType() {
logoType_ = getDefaultInstance().getLogoType();
onChanged();
return this;
}
/**
* string LogoType = 12;
* @param value The bytes for logoType to set.
* @return This builder for chaining.
*/
public Builder setLogoTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logoType_ = value;
onChanged();
return this;
}
private java.util.List logos_ =
java.util.Collections.emptyList();
private void ensureLogosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
logos_ = new java.util.ArrayList(logos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder> logosBuilder_;
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public java.util.List getLogosList() {
if (logosBuilder_ == null) {
return java.util.Collections.unmodifiableList(logos_);
} else {
return logosBuilder_.getMessageList();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public int getLogosCount() {
if (logosBuilder_ == null) {
return logos_.size();
} else {
return logosBuilder_.getCount();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public com.volcengine.service.vod.model.business.AdaptLogo getLogos(int index) {
if (logosBuilder_ == null) {
return logos_.get(index);
} else {
return logosBuilder_.getMessage(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder setLogos(
int index, com.volcengine.service.vod.model.business.AdaptLogo value) {
if (logosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogosIsMutable();
logos_.set(index, value);
onChanged();
} else {
logosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder setLogos(
int index, com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) {
if (logosBuilder_ == null) {
ensureLogosIsMutable();
logos_.set(index, builderForValue.build());
onChanged();
} else {
logosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder addLogos(com.volcengine.service.vod.model.business.AdaptLogo value) {
if (logosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogosIsMutable();
logos_.add(value);
onChanged();
} else {
logosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder addLogos(
int index, com.volcengine.service.vod.model.business.AdaptLogo value) {
if (logosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogosIsMutable();
logos_.add(index, value);
onChanged();
} else {
logosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder addLogos(
com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) {
if (logosBuilder_ == null) {
ensureLogosIsMutable();
logos_.add(builderForValue.build());
onChanged();
} else {
logosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder addLogos(
int index, com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) {
if (logosBuilder_ == null) {
ensureLogosIsMutable();
logos_.add(index, builderForValue.build());
onChanged();
} else {
logosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder addAllLogos(
java.lang.Iterable extends com.volcengine.service.vod.model.business.AdaptLogo> values) {
if (logosBuilder_ == null) {
ensureLogosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, logos_);
onChanged();
} else {
logosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder clearLogos() {
if (logosBuilder_ == null) {
logos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
logosBuilder_.clear();
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public Builder removeLogos(int index) {
if (logosBuilder_ == null) {
ensureLogosIsMutable();
logos_.remove(index);
onChanged();
} else {
logosBuilder_.remove(index);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public com.volcengine.service.vod.model.business.AdaptLogo.Builder getLogosBuilder(
int index) {
return getLogosFieldBuilder().getBuilder(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public com.volcengine.service.vod.model.business.AdaptLogoOrBuilder getLogosOrBuilder(
int index) {
if (logosBuilder_ == null) {
return logos_.get(index); } else {
return logosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public java.util.List extends com.volcengine.service.vod.model.business.AdaptLogoOrBuilder>
getLogosOrBuilderList() {
if (logosBuilder_ != null) {
return logosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(logos_);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public com.volcengine.service.vod.model.business.AdaptLogo.Builder addLogosBuilder() {
return getLogosFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.AdaptLogo.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public com.volcengine.service.vod.model.business.AdaptLogo.Builder addLogosBuilder(
int index) {
return getLogosFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.AdaptLogo.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 13;
*/
public java.util.List
getLogosBuilderList() {
return getLogosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder>
getLogosFieldBuilder() {
if (logosBuilder_ == null) {
logosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder>(
logos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
logos_ = null;
}
return logosBuilder_;
}
private java.util.List concats_ =
java.util.Collections.emptyList();
private void ensureConcatsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
concats_ = new java.util.ArrayList(concats_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder> concatsBuilder_;
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public java.util.List getConcatsList() {
if (concatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(concats_);
} else {
return concatsBuilder_.getMessageList();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public int getConcatsCount() {
if (concatsBuilder_ == null) {
return concats_.size();
} else {
return concatsBuilder_.getCount();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public com.volcengine.service.vod.model.business.AdaptConcat getConcats(int index) {
if (concatsBuilder_ == null) {
return concats_.get(index);
} else {
return concatsBuilder_.getMessage(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder setConcats(
int index, com.volcengine.service.vod.model.business.AdaptConcat value) {
if (concatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConcatsIsMutable();
concats_.set(index, value);
onChanged();
} else {
concatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder setConcats(
int index, com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) {
if (concatsBuilder_ == null) {
ensureConcatsIsMutable();
concats_.set(index, builderForValue.build());
onChanged();
} else {
concatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder addConcats(com.volcengine.service.vod.model.business.AdaptConcat value) {
if (concatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConcatsIsMutable();
concats_.add(value);
onChanged();
} else {
concatsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder addConcats(
int index, com.volcengine.service.vod.model.business.AdaptConcat value) {
if (concatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConcatsIsMutable();
concats_.add(index, value);
onChanged();
} else {
concatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder addConcats(
com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) {
if (concatsBuilder_ == null) {
ensureConcatsIsMutable();
concats_.add(builderForValue.build());
onChanged();
} else {
concatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder addConcats(
int index, com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) {
if (concatsBuilder_ == null) {
ensureConcatsIsMutable();
concats_.add(index, builderForValue.build());
onChanged();
} else {
concatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder addAllConcats(
java.lang.Iterable extends com.volcengine.service.vod.model.business.AdaptConcat> values) {
if (concatsBuilder_ == null) {
ensureConcatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, concats_);
onChanged();
} else {
concatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder clearConcats() {
if (concatsBuilder_ == null) {
concats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
concatsBuilder_.clear();
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public Builder removeConcats(int index) {
if (concatsBuilder_ == null) {
ensureConcatsIsMutable();
concats_.remove(index);
onChanged();
} else {
concatsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public com.volcengine.service.vod.model.business.AdaptConcat.Builder getConcatsBuilder(
int index) {
return getConcatsFieldBuilder().getBuilder(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public com.volcengine.service.vod.model.business.AdaptConcatOrBuilder getConcatsOrBuilder(
int index) {
if (concatsBuilder_ == null) {
return concats_.get(index); } else {
return concatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public java.util.List extends com.volcengine.service.vod.model.business.AdaptConcatOrBuilder>
getConcatsOrBuilderList() {
if (concatsBuilder_ != null) {
return concatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(concats_);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public com.volcengine.service.vod.model.business.AdaptConcat.Builder addConcatsBuilder() {
return getConcatsFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.AdaptConcat.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public com.volcengine.service.vod.model.business.AdaptConcat.Builder addConcatsBuilder(
int index) {
return getConcatsFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.AdaptConcat.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 14;
*/
public java.util.List
getConcatsBuilderList() {
return getConcatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder>
getConcatsFieldBuilder() {
if (concatsBuilder_ == null) {
concatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder>(
concats_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
concats_ = null;
}
return concatsBuilder_;
}
private com.volcengine.service.vod.model.business.HiddenWatermarkAdd hiddenWatermark_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder> hiddenWatermarkBuilder_;
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
* @return Whether the hiddenWatermark field is set.
*/
public boolean hasHiddenWatermark() {
return hiddenWatermarkBuilder_ != null || hiddenWatermark_ != null;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
* @return The hiddenWatermark.
*/
public com.volcengine.service.vod.model.business.HiddenWatermarkAdd getHiddenWatermark() {
if (hiddenWatermarkBuilder_ == null) {
return hiddenWatermark_ == null ? com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_;
} else {
return hiddenWatermarkBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public Builder setHiddenWatermark(com.volcengine.service.vod.model.business.HiddenWatermarkAdd value) {
if (hiddenWatermarkBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hiddenWatermark_ = value;
onChanged();
} else {
hiddenWatermarkBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public Builder setHiddenWatermark(
com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder builderForValue) {
if (hiddenWatermarkBuilder_ == null) {
hiddenWatermark_ = builderForValue.build();
onChanged();
} else {
hiddenWatermarkBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public Builder mergeHiddenWatermark(com.volcengine.service.vod.model.business.HiddenWatermarkAdd value) {
if (hiddenWatermarkBuilder_ == null) {
if (hiddenWatermark_ != null) {
hiddenWatermark_ =
com.volcengine.service.vod.model.business.HiddenWatermarkAdd.newBuilder(hiddenWatermark_).mergeFrom(value).buildPartial();
} else {
hiddenWatermark_ = value;
}
onChanged();
} else {
hiddenWatermarkBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public Builder clearHiddenWatermark() {
if (hiddenWatermarkBuilder_ == null) {
hiddenWatermark_ = null;
onChanged();
} else {
hiddenWatermark_ = null;
hiddenWatermarkBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder getHiddenWatermarkBuilder() {
onChanged();
return getHiddenWatermarkFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
public com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder getHiddenWatermarkOrBuilder() {
if (hiddenWatermarkBuilder_ != null) {
return hiddenWatermarkBuilder_.getMessageOrBuilder();
} else {
return hiddenWatermark_ == null ?
com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_;
}
}
/**
* .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder>
getHiddenWatermarkFieldBuilder() {
if (hiddenWatermarkBuilder_ == null) {
hiddenWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder>(
getHiddenWatermark(),
getParentForChildren(),
isClean());
hiddenWatermark_ = null;
}
return hiddenWatermarkBuilder_;
}
@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.LogoTemplate)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.LogoTemplate)
private static final com.volcengine.service.vod.model.business.LogoTemplate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.LogoTemplate();
}
public static com.volcengine.service.vod.model.business.LogoTemplate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LogoTemplate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LogoTemplate(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.LogoTemplate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy