com.volcengine.service.vod.model.business.ImageLogoDefinition 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.ImageLogoDefinition}
*/
public final class ImageLogoDefinition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.ImageLogoDefinition)
ImageLogoDefinitionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageLogoDefinition.newBuilder() to construct.
private ImageLogoDefinition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageLogoDefinition() {
mid_ = "";
locate_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageLogoDefinition();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImageLogoDefinition(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
mid_ = s;
break;
}
case 16: {
startTime_ = input.readInt32();
break;
}
case 24: {
endTime_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
locate_ = s;
break;
}
case 40: {
posX_ = input.readInt32();
break;
}
case 48: {
posY_ = input.readInt32();
break;
}
case 56: {
sizeX_ = input.readInt32();
break;
}
case 64: {
sizeY_ = input.readInt32();
break;
}
case 72: {
loopTimes_ = input.readInt32();
break;
}
case 80: {
repeatLast_ = input.readBool();
break;
}
case 88: {
transparency_ = input.readInt32();
break;
}
case 97: {
posRatioX_ = input.readDouble();
break;
}
case 105: {
posRatioY_ = input.readDouble();
break;
}
case 113: {
sizeRatioX_ = input.readDouble();
break;
}
case 121: {
sizeRatioY_ = input.readDouble();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_ImageLogoDefinition_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_ImageLogoDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.ImageLogoDefinition.class, com.volcengine.service.vod.model.business.ImageLogoDefinition.Builder.class);
}
public static final int MID_FIELD_NUMBER = 1;
private volatile java.lang.Object mid_;
/**
* string Mid = 1;
* @return The mid.
*/
@java.lang.Override
public java.lang.String getMid() {
java.lang.Object ref = mid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mid_ = s;
return s;
}
}
/**
* string Mid = 1;
* @return The bytes for mid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMidBytes() {
java.lang.Object ref = mid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIME_FIELD_NUMBER = 2;
private int startTime_;
/**
* int32 StartTime = 2;
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
public static final int ENDTIME_FIELD_NUMBER = 3;
private int endTime_;
/**
* int32 EndTime = 3;
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
public static final int LOCATE_FIELD_NUMBER = 4;
private volatile java.lang.Object locate_;
/**
* string Locate = 4;
* @return The locate.
*/
@java.lang.Override
public java.lang.String getLocate() {
java.lang.Object ref = locate_;
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();
locate_ = s;
return s;
}
}
/**
* string Locate = 4;
* @return The bytes for locate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocateBytes() {
java.lang.Object ref = locate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POSX_FIELD_NUMBER = 5;
private int posX_;
/**
* int32 PosX = 5;
* @return The posX.
*/
@java.lang.Override
public int getPosX() {
return posX_;
}
public static final int POSY_FIELD_NUMBER = 6;
private int posY_;
/**
* int32 PosY = 6;
* @return The posY.
*/
@java.lang.Override
public int getPosY() {
return posY_;
}
public static final int SIZEX_FIELD_NUMBER = 7;
private int sizeX_;
/**
* int32 SizeX = 7;
* @return The sizeX.
*/
@java.lang.Override
public int getSizeX() {
return sizeX_;
}
public static final int SIZEY_FIELD_NUMBER = 8;
private int sizeY_;
/**
* int32 SizeY = 8;
* @return The sizeY.
*/
@java.lang.Override
public int getSizeY() {
return sizeY_;
}
public static final int LOOPTIMES_FIELD_NUMBER = 9;
private int loopTimes_;
/**
*
*循环次数
*
*
* int32 LoopTimes = 9;
* @return The loopTimes.
*/
@java.lang.Override
public int getLoopTimes() {
return loopTimes_;
}
public static final int REPEATLAST_FIELD_NUMBER = 10;
private boolean repeatLast_;
/**
* bool RepeatLast = 10;
* @return The repeatLast.
*/
@java.lang.Override
public boolean getRepeatLast() {
return repeatLast_;
}
public static final int TRANSPARENCY_FIELD_NUMBER = 11;
private int transparency_;
/**
*
*透明度
*
*
* int32 Transparency = 11;
* @return The transparency.
*/
@java.lang.Override
public int getTransparency() {
return transparency_;
}
public static final int POSRATIOX_FIELD_NUMBER = 12;
private double posRatioX_;
/**
* double PosRatioX = 12;
* @return The posRatioX.
*/
@java.lang.Override
public double getPosRatioX() {
return posRatioX_;
}
public static final int POSRATIOY_FIELD_NUMBER = 13;
private double posRatioY_;
/**
* double PosRatioY = 13;
* @return The posRatioY.
*/
@java.lang.Override
public double getPosRatioY() {
return posRatioY_;
}
public static final int SIZERATIOX_FIELD_NUMBER = 14;
private double sizeRatioX_;
/**
* double SizeRatioX = 14;
* @return The sizeRatioX.
*/
@java.lang.Override
public double getSizeRatioX() {
return sizeRatioX_;
}
public static final int SIZERATIOY_FIELD_NUMBER = 15;
private double sizeRatioY_;
/**
* double SizeRatioY = 15;
* @return The sizeRatioY.
*/
@java.lang.Override
public double getSizeRatioY() {
return sizeRatioY_;
}
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(mid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mid_);
}
if (startTime_ != 0) {
output.writeInt32(2, startTime_);
}
if (endTime_ != 0) {
output.writeInt32(3, endTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locate_);
}
if (posX_ != 0) {
output.writeInt32(5, posX_);
}
if (posY_ != 0) {
output.writeInt32(6, posY_);
}
if (sizeX_ != 0) {
output.writeInt32(7, sizeX_);
}
if (sizeY_ != 0) {
output.writeInt32(8, sizeY_);
}
if (loopTimes_ != 0) {
output.writeInt32(9, loopTimes_);
}
if (repeatLast_ != false) {
output.writeBool(10, repeatLast_);
}
if (transparency_ != 0) {
output.writeInt32(11, transparency_);
}
if (java.lang.Double.doubleToRawLongBits(posRatioX_) != 0) {
output.writeDouble(12, posRatioX_);
}
if (java.lang.Double.doubleToRawLongBits(posRatioY_) != 0) {
output.writeDouble(13, posRatioY_);
}
if (java.lang.Double.doubleToRawLongBits(sizeRatioX_) != 0) {
output.writeDouble(14, sizeRatioX_);
}
if (java.lang.Double.doubleToRawLongBits(sizeRatioY_) != 0) {
output.writeDouble(15, sizeRatioY_);
}
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(mid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mid_);
}
if (startTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, startTime_);
}
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, endTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locate_);
}
if (posX_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, posX_);
}
if (posY_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, posY_);
}
if (sizeX_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, sizeX_);
}
if (sizeY_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, sizeY_);
}
if (loopTimes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, loopTimes_);
}
if (repeatLast_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, repeatLast_);
}
if (transparency_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, transparency_);
}
if (java.lang.Double.doubleToRawLongBits(posRatioX_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(12, posRatioX_);
}
if (java.lang.Double.doubleToRawLongBits(posRatioY_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(13, posRatioY_);
}
if (java.lang.Double.doubleToRawLongBits(sizeRatioX_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(14, sizeRatioX_);
}
if (java.lang.Double.doubleToRawLongBits(sizeRatioY_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(15, sizeRatioY_);
}
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.ImageLogoDefinition)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.ImageLogoDefinition other = (com.volcengine.service.vod.model.business.ImageLogoDefinition) obj;
if (!getMid()
.equals(other.getMid())) return false;
if (getStartTime()
!= other.getStartTime()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (!getLocate()
.equals(other.getLocate())) return false;
if (getPosX()
!= other.getPosX()) return false;
if (getPosY()
!= other.getPosY()) return false;
if (getSizeX()
!= other.getSizeX()) return false;
if (getSizeY()
!= other.getSizeY()) return false;
if (getLoopTimes()
!= other.getLoopTimes()) return false;
if (getRepeatLast()
!= other.getRepeatLast()) return false;
if (getTransparency()
!= other.getTransparency()) return false;
if (java.lang.Double.doubleToLongBits(getPosRatioX())
!= java.lang.Double.doubleToLongBits(
other.getPosRatioX())) return false;
if (java.lang.Double.doubleToLongBits(getPosRatioY())
!= java.lang.Double.doubleToLongBits(
other.getPosRatioY())) return false;
if (java.lang.Double.doubleToLongBits(getSizeRatioX())
!= java.lang.Double.doubleToLongBits(
other.getSizeRatioX())) return false;
if (java.lang.Double.doubleToLongBits(getSizeRatioY())
!= java.lang.Double.doubleToLongBits(
other.getSizeRatioY())) 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) + MID_FIELD_NUMBER;
hash = (53 * hash) + getMid().hashCode();
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime();
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
hash = (37 * hash) + LOCATE_FIELD_NUMBER;
hash = (53 * hash) + getLocate().hashCode();
hash = (37 * hash) + POSX_FIELD_NUMBER;
hash = (53 * hash) + getPosX();
hash = (37 * hash) + POSY_FIELD_NUMBER;
hash = (53 * hash) + getPosY();
hash = (37 * hash) + SIZEX_FIELD_NUMBER;
hash = (53 * hash) + getSizeX();
hash = (37 * hash) + SIZEY_FIELD_NUMBER;
hash = (53 * hash) + getSizeY();
hash = (37 * hash) + LOOPTIMES_FIELD_NUMBER;
hash = (53 * hash) + getLoopTimes();
hash = (37 * hash) + REPEATLAST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRepeatLast());
hash = (37 * hash) + TRANSPARENCY_FIELD_NUMBER;
hash = (53 * hash) + getTransparency();
hash = (37 * hash) + POSRATIOX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPosRatioX()));
hash = (37 * hash) + POSRATIOY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPosRatioY()));
hash = (37 * hash) + SIZERATIOX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getSizeRatioX()));
hash = (37 * hash) + SIZERATIOY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getSizeRatioY()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.ImageLogoDefinition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.ImageLogoDefinition 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.ImageLogoDefinition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.ImageLogoDefinition 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.ImageLogoDefinition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition 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.ImageLogoDefinition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.ImageLogoDefinition)
com.volcengine.service.vod.model.business.ImageLogoDefinitionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_ImageLogoDefinition_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_ImageLogoDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.ImageLogoDefinition.class, com.volcengine.service.vod.model.business.ImageLogoDefinition.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.ImageLogoDefinition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
mid_ = "";
startTime_ = 0;
endTime_ = 0;
locate_ = "";
posX_ = 0;
posY_ = 0;
sizeX_ = 0;
sizeY_ = 0;
loopTimes_ = 0;
repeatLast_ = false;
transparency_ = 0;
posRatioX_ = 0D;
posRatioY_ = 0D;
sizeRatioX_ = 0D;
sizeRatioY_ = 0D;
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_ImageLogoDefinition_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.ImageLogoDefinition getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.ImageLogoDefinition.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.ImageLogoDefinition build() {
com.volcengine.service.vod.model.business.ImageLogoDefinition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.ImageLogoDefinition buildPartial() {
com.volcengine.service.vod.model.business.ImageLogoDefinition result = new com.volcengine.service.vod.model.business.ImageLogoDefinition(this);
result.mid_ = mid_;
result.startTime_ = startTime_;
result.endTime_ = endTime_;
result.locate_ = locate_;
result.posX_ = posX_;
result.posY_ = posY_;
result.sizeX_ = sizeX_;
result.sizeY_ = sizeY_;
result.loopTimes_ = loopTimes_;
result.repeatLast_ = repeatLast_;
result.transparency_ = transparency_;
result.posRatioX_ = posRatioX_;
result.posRatioY_ = posRatioY_;
result.sizeRatioX_ = sizeRatioX_;
result.sizeRatioY_ = sizeRatioY_;
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.ImageLogoDefinition) {
return mergeFrom((com.volcengine.service.vod.model.business.ImageLogoDefinition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.ImageLogoDefinition other) {
if (other == com.volcengine.service.vod.model.business.ImageLogoDefinition.getDefaultInstance()) return this;
if (!other.getMid().isEmpty()) {
mid_ = other.mid_;
onChanged();
}
if (other.getStartTime() != 0) {
setStartTime(other.getStartTime());
}
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
if (!other.getLocate().isEmpty()) {
locate_ = other.locate_;
onChanged();
}
if (other.getPosX() != 0) {
setPosX(other.getPosX());
}
if (other.getPosY() != 0) {
setPosY(other.getPosY());
}
if (other.getSizeX() != 0) {
setSizeX(other.getSizeX());
}
if (other.getSizeY() != 0) {
setSizeY(other.getSizeY());
}
if (other.getLoopTimes() != 0) {
setLoopTimes(other.getLoopTimes());
}
if (other.getRepeatLast() != false) {
setRepeatLast(other.getRepeatLast());
}
if (other.getTransparency() != 0) {
setTransparency(other.getTransparency());
}
if (other.getPosRatioX() != 0D) {
setPosRatioX(other.getPosRatioX());
}
if (other.getPosRatioY() != 0D) {
setPosRatioY(other.getPosRatioY());
}
if (other.getSizeRatioX() != 0D) {
setSizeRatioX(other.getSizeRatioX());
}
if (other.getSizeRatioY() != 0D) {
setSizeRatioY(other.getSizeRatioY());
}
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.ImageLogoDefinition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.ImageLogoDefinition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object mid_ = "";
/**
* string Mid = 1;
* @return The mid.
*/
public java.lang.String getMid() {
java.lang.Object ref = mid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Mid = 1;
* @return The bytes for mid.
*/
public com.google.protobuf.ByteString
getMidBytes() {
java.lang.Object ref = mid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Mid = 1;
* @param value The mid to set.
* @return This builder for chaining.
*/
public Builder setMid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mid_ = value;
onChanged();
return this;
}
/**
* string Mid = 1;
* @return This builder for chaining.
*/
public Builder clearMid() {
mid_ = getDefaultInstance().getMid();
onChanged();
return this;
}
/**
* string Mid = 1;
* @param value The bytes for mid to set.
* @return This builder for chaining.
*/
public Builder setMidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mid_ = value;
onChanged();
return this;
}
private int startTime_ ;
/**
* int32 StartTime = 2;
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
/**
* int32 StartTime = 2;
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(int value) {
startTime_ = value;
onChanged();
return this;
}
/**
* int32 StartTime = 2;
* @return This builder for chaining.
*/
public Builder clearStartTime() {
startTime_ = 0;
onChanged();
return this;
}
private int endTime_ ;
/**
* int32 EndTime = 3;
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
/**
* int32 EndTime = 3;
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(int value) {
endTime_ = value;
onChanged();
return this;
}
/**
* int32 EndTime = 3;
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = 0;
onChanged();
return this;
}
private java.lang.Object locate_ = "";
/**
* string Locate = 4;
* @return The locate.
*/
public java.lang.String getLocate() {
java.lang.Object ref = locate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Locate = 4;
* @return The bytes for locate.
*/
public com.google.protobuf.ByteString
getLocateBytes() {
java.lang.Object ref = locate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Locate = 4;
* @param value The locate to set.
* @return This builder for chaining.
*/
public Builder setLocate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locate_ = value;
onChanged();
return this;
}
/**
* string Locate = 4;
* @return This builder for chaining.
*/
public Builder clearLocate() {
locate_ = getDefaultInstance().getLocate();
onChanged();
return this;
}
/**
* string Locate = 4;
* @param value The bytes for locate to set.
* @return This builder for chaining.
*/
public Builder setLocateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locate_ = value;
onChanged();
return this;
}
private int posX_ ;
/**
* int32 PosX = 5;
* @return The posX.
*/
@java.lang.Override
public int getPosX() {
return posX_;
}
/**
* int32 PosX = 5;
* @param value The posX to set.
* @return This builder for chaining.
*/
public Builder setPosX(int value) {
posX_ = value;
onChanged();
return this;
}
/**
* int32 PosX = 5;
* @return This builder for chaining.
*/
public Builder clearPosX() {
posX_ = 0;
onChanged();
return this;
}
private int posY_ ;
/**
* int32 PosY = 6;
* @return The posY.
*/
@java.lang.Override
public int getPosY() {
return posY_;
}
/**
* int32 PosY = 6;
* @param value The posY to set.
* @return This builder for chaining.
*/
public Builder setPosY(int value) {
posY_ = value;
onChanged();
return this;
}
/**
* int32 PosY = 6;
* @return This builder for chaining.
*/
public Builder clearPosY() {
posY_ = 0;
onChanged();
return this;
}
private int sizeX_ ;
/**
* int32 SizeX = 7;
* @return The sizeX.
*/
@java.lang.Override
public int getSizeX() {
return sizeX_;
}
/**
* int32 SizeX = 7;
* @param value The sizeX to set.
* @return This builder for chaining.
*/
public Builder setSizeX(int value) {
sizeX_ = value;
onChanged();
return this;
}
/**
* int32 SizeX = 7;
* @return This builder for chaining.
*/
public Builder clearSizeX() {
sizeX_ = 0;
onChanged();
return this;
}
private int sizeY_ ;
/**
* int32 SizeY = 8;
* @return The sizeY.
*/
@java.lang.Override
public int getSizeY() {
return sizeY_;
}
/**
* int32 SizeY = 8;
* @param value The sizeY to set.
* @return This builder for chaining.
*/
public Builder setSizeY(int value) {
sizeY_ = value;
onChanged();
return this;
}
/**
* int32 SizeY = 8;
* @return This builder for chaining.
*/
public Builder clearSizeY() {
sizeY_ = 0;
onChanged();
return this;
}
private int loopTimes_ ;
/**
*
*循环次数
*
*
* int32 LoopTimes = 9;
* @return The loopTimes.
*/
@java.lang.Override
public int getLoopTimes() {
return loopTimes_;
}
/**
*
*循环次数
*
*
* int32 LoopTimes = 9;
* @param value The loopTimes to set.
* @return This builder for chaining.
*/
public Builder setLoopTimes(int value) {
loopTimes_ = value;
onChanged();
return this;
}
/**
*
*循环次数
*
*
* int32 LoopTimes = 9;
* @return This builder for chaining.
*/
public Builder clearLoopTimes() {
loopTimes_ = 0;
onChanged();
return this;
}
private boolean repeatLast_ ;
/**
* bool RepeatLast = 10;
* @return The repeatLast.
*/
@java.lang.Override
public boolean getRepeatLast() {
return repeatLast_;
}
/**
* bool RepeatLast = 10;
* @param value The repeatLast to set.
* @return This builder for chaining.
*/
public Builder setRepeatLast(boolean value) {
repeatLast_ = value;
onChanged();
return this;
}
/**
* bool RepeatLast = 10;
* @return This builder for chaining.
*/
public Builder clearRepeatLast() {
repeatLast_ = false;
onChanged();
return this;
}
private int transparency_ ;
/**
*
*透明度
*
*
* int32 Transparency = 11;
* @return The transparency.
*/
@java.lang.Override
public int getTransparency() {
return transparency_;
}
/**
*
*透明度
*
*
* int32 Transparency = 11;
* @param value The transparency to set.
* @return This builder for chaining.
*/
public Builder setTransparency(int value) {
transparency_ = value;
onChanged();
return this;
}
/**
*
*透明度
*
*
* int32 Transparency = 11;
* @return This builder for chaining.
*/
public Builder clearTransparency() {
transparency_ = 0;
onChanged();
return this;
}
private double posRatioX_ ;
/**
* double PosRatioX = 12;
* @return The posRatioX.
*/
@java.lang.Override
public double getPosRatioX() {
return posRatioX_;
}
/**
* double PosRatioX = 12;
* @param value The posRatioX to set.
* @return This builder for chaining.
*/
public Builder setPosRatioX(double value) {
posRatioX_ = value;
onChanged();
return this;
}
/**
* double PosRatioX = 12;
* @return This builder for chaining.
*/
public Builder clearPosRatioX() {
posRatioX_ = 0D;
onChanged();
return this;
}
private double posRatioY_ ;
/**
* double PosRatioY = 13;
* @return The posRatioY.
*/
@java.lang.Override
public double getPosRatioY() {
return posRatioY_;
}
/**
* double PosRatioY = 13;
* @param value The posRatioY to set.
* @return This builder for chaining.
*/
public Builder setPosRatioY(double value) {
posRatioY_ = value;
onChanged();
return this;
}
/**
* double PosRatioY = 13;
* @return This builder for chaining.
*/
public Builder clearPosRatioY() {
posRatioY_ = 0D;
onChanged();
return this;
}
private double sizeRatioX_ ;
/**
* double SizeRatioX = 14;
* @return The sizeRatioX.
*/
@java.lang.Override
public double getSizeRatioX() {
return sizeRatioX_;
}
/**
* double SizeRatioX = 14;
* @param value The sizeRatioX to set.
* @return This builder for chaining.
*/
public Builder setSizeRatioX(double value) {
sizeRatioX_ = value;
onChanged();
return this;
}
/**
* double SizeRatioX = 14;
* @return This builder for chaining.
*/
public Builder clearSizeRatioX() {
sizeRatioX_ = 0D;
onChanged();
return this;
}
private double sizeRatioY_ ;
/**
* double SizeRatioY = 15;
* @return The sizeRatioY.
*/
@java.lang.Override
public double getSizeRatioY() {
return sizeRatioY_;
}
/**
* double SizeRatioY = 15;
* @param value The sizeRatioY to set.
* @return This builder for chaining.
*/
public Builder setSizeRatioY(double value) {
sizeRatioY_ = value;
onChanged();
return this;
}
/**
* double SizeRatioY = 15;
* @return This builder for chaining.
*/
public Builder clearSizeRatioY() {
sizeRatioY_ = 0D;
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.ImageLogoDefinition)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.ImageLogoDefinition)
private static final com.volcengine.service.vod.model.business.ImageLogoDefinition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.ImageLogoDefinition();
}
public static com.volcengine.service.vod.model.business.ImageLogoDefinition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageLogoDefinition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImageLogoDefinition(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.ImageLogoDefinition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy