/*
* MIT License
*
* Copyright (c) 2023 OrdinaryRoad
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Image.proto
package tech.ordinaryroad.live.chat.client.douyin.protobuf.dto;
public final class ImageOuterClass {
private ImageOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ImageOrBuilder extends
// @@protoc_insertion_point(interface_extends:Image)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string urlListList = 1;
* @return A list containing the urlListList.
*/
java.util.List
getUrlListListList();
/**
* repeated string urlListList = 1;
* @return The count of urlListList.
*/
int getUrlListListCount();
/**
* repeated string urlListList = 1;
* @param index The index of the element to return.
* @return The urlListList at the given index.
*/
java.lang.String getUrlListList(int index);
/**
* repeated string urlListList = 1;
* @param index The index of the value to return.
* @return The bytes of the urlListList at the given index.
*/
com.google.protobuf.ByteString
getUrlListListBytes(int index);
/**
* string uri = 2;
* @return The uri.
*/
java.lang.String getUri();
/**
* string uri = 2;
* @return The bytes for uri.
*/
com.google.protobuf.ByteString
getUriBytes();
/**
* int64 height = 3;
* @return The height.
*/
long getHeight();
/**
* int64 width = 4;
* @return The width.
*/
long getWidth();
/**
* string avgColor = 5;
* @return The avgColor.
*/
java.lang.String getAvgColor();
/**
* string avgColor = 5;
* @return The bytes for avgColor.
*/
com.google.protobuf.ByteString
getAvgColorBytes();
/**
* int32 imageType = 6;
* @return The imageType.
*/
int getImageType();
/**
* string openWebUrl = 7;
* @return The openWebUrl.
*/
java.lang.String getOpenWebUrl();
/**
* string openWebUrl = 7;
* @return The bytes for openWebUrl.
*/
com.google.protobuf.ByteString
getOpenWebUrlBytes();
/**
* .Image.Content content = 8;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .Image.Content content = 8;
* @return The content.
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getContent();
/**
* .Image.Content content = 8;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder getContentOrBuilder();
/**
* bool isAnimated = 9;
* @return The isAnimated.
*/
boolean getIsAnimated();
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
java.util.List
getFlexSettingListListList();
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getFlexSettingListList(int index);
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
int getFlexSettingListListCount();
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getFlexSettingListListOrBuilderList();
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getFlexSettingListListOrBuilder(
int index);
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
java.util.List
getTextSettingListListList();
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getTextSettingListList(int index);
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
int getTextSettingListListCount();
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getTextSettingListListOrBuilderList();
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getTextSettingListListOrBuilder(
int index);
}
/**
* Protobuf type {@code Image}
*/
public static final class Image extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Image)
ImageOrBuilder {
private static final long serialVersionUID = 0L;
// Use Image.newBuilder() to construct.
private Image(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Image() {
urlListList_ =
com.google.protobuf.LazyStringArrayList.emptyList();
uri_ = "";
avgColor_ = "";
openWebUrl_ = "";
flexSettingListList_ = java.util.Collections.emptyList();
textSettingListList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Image();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder.class);
}
public interface ContentOrBuilder extends
// @@protoc_insertion_point(interface_extends:Image.Content)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string fontColor = 2;
* @return The fontColor.
*/
java.lang.String getFontColor();
/**
* string fontColor = 2;
* @return The bytes for fontColor.
*/
com.google.protobuf.ByteString
getFontColorBytes();
/**
* int64 level = 3;
* @return The level.
*/
long getLevel();
/**
* string alternativeText = 4;
* @return The alternativeText.
*/
java.lang.String getAlternativeText();
/**
* string alternativeText = 4;
* @return The bytes for alternativeText.
*/
com.google.protobuf.ByteString
getAlternativeTextBytes();
}
/**
* Protobuf type {@code Image.Content}
*/
public static final class Content extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Image.Content)
ContentOrBuilder {
private static final long serialVersionUID = 0L;
// Use Content.newBuilder() to construct.
private Content(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Content() {
name_ = "";
fontColor_ = "";
alternativeText_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Content();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_Content_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_Content_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* string name = 1;
* @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 = 1;
* @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 FONTCOLOR_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object fontColor_ = "";
/**
* string fontColor = 2;
* @return The fontColor.
*/
@java.lang.Override
public java.lang.String getFontColor() {
java.lang.Object ref = fontColor_;
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();
fontColor_ = s;
return s;
}
}
/**
* string fontColor = 2;
* @return The bytes for fontColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFontColorBytes() {
java.lang.Object ref = fontColor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fontColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LEVEL_FIELD_NUMBER = 3;
private long level_ = 0L;
/**
* int64 level = 3;
* @return The level.
*/
@java.lang.Override
public long getLevel() {
return level_;
}
public static final int ALTERNATIVETEXT_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object alternativeText_ = "";
/**
* string alternativeText = 4;
* @return The alternativeText.
*/
@java.lang.Override
public java.lang.String getAlternativeText() {
java.lang.Object ref = alternativeText_;
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();
alternativeText_ = s;
return s;
}
}
/**
* string alternativeText = 4;
* @return The bytes for alternativeText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlternativeTextBytes() {
java.lang.Object ref = alternativeText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alternativeText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontColor_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fontColor_);
}
if (level_ != 0L) {
output.writeInt64(3, level_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternativeText_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, alternativeText_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontColor_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fontColor_);
}
if (level_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, level_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternativeText_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, alternativeText_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getFontColor()
.equals(other.getFontColor())) return false;
if (getLevel()
!= other.getLevel()) return false;
if (!getAlternativeText()
.equals(other.getAlternativeText())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + FONTCOLOR_FIELD_NUMBER;
hash = (53 * hash) + getFontColor().hashCode();
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLevel());
hash = (37 * hash) + ALTERNATIVETEXT_FIELD_NUMBER;
hash = (53 * hash) + getAlternativeText().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content 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(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content 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 Image.Content}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Image.Content)
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_Content_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_Content_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder.class);
}
// Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
fontColor_ = "";
level_ = 0L;
alternativeText_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_Content_descriptor;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getDefaultInstanceForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance();
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content build() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content buildPartial() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.fontColor_ = fontColor_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.level_ = level_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.alternativeText_ = alternativeText_;
}
}
@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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content) {
return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content other) {
if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFontColor().isEmpty()) {
fontColor_ = other.fontColor_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getLevel() != 0L) {
setLevel(other.getLevel());
}
if (!other.getAlternativeText().isEmpty()) {
alternativeText_ = other.alternativeText_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
fontColor_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
level_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
alternativeText_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* string name = 1;
* @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 = 1;
* @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 = 1;
* @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;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string name = 1;
* @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;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object fontColor_ = "";
/**
* string fontColor = 2;
* @return The fontColor.
*/
public java.lang.String getFontColor() {
java.lang.Object ref = fontColor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fontColor_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fontColor = 2;
* @return The bytes for fontColor.
*/
public com.google.protobuf.ByteString
getFontColorBytes() {
java.lang.Object ref = fontColor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fontColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fontColor = 2;
* @param value The fontColor to set.
* @return This builder for chaining.
*/
public Builder setFontColor(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fontColor_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string fontColor = 2;
* @return This builder for chaining.
*/
public Builder clearFontColor() {
fontColor_ = getDefaultInstance().getFontColor();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string fontColor = 2;
* @param value The bytes for fontColor to set.
* @return This builder for chaining.
*/
public Builder setFontColorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fontColor_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long level_ ;
/**
* int64 level = 3;
* @return The level.
*/
@java.lang.Override
public long getLevel() {
return level_;
}
/**
* int64 level = 3;
* @param value The level to set.
* @return This builder for chaining.
*/
public Builder setLevel(long value) {
level_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* int64 level = 3;
* @return This builder for chaining.
*/
public Builder clearLevel() {
bitField0_ = (bitField0_ & ~0x00000004);
level_ = 0L;
onChanged();
return this;
}
private java.lang.Object alternativeText_ = "";
/**
* string alternativeText = 4;
* @return The alternativeText.
*/
public java.lang.String getAlternativeText() {
java.lang.Object ref = alternativeText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
alternativeText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string alternativeText = 4;
* @return The bytes for alternativeText.
*/
public com.google.protobuf.ByteString
getAlternativeTextBytes() {
java.lang.Object ref = alternativeText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alternativeText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string alternativeText = 4;
* @param value The alternativeText to set.
* @return This builder for chaining.
*/
public Builder setAlternativeText(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
alternativeText_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string alternativeText = 4;
* @return This builder for chaining.
*/
public Builder clearAlternativeText() {
alternativeText_ = getDefaultInstance().getAlternativeText();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string alternativeText = 4;
* @param value The bytes for alternativeText to set.
* @return This builder for chaining.
*/
public Builder setAlternativeTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
alternativeText_ = value;
bitField0_ |= 0x00000008;
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:Image.Content)
}
// @@protoc_insertion_point(class_scope:Image.Content)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Content parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NinePatchSettingOrBuilder extends
// @@protoc_insertion_point(interface_extends:Image.NinePatchSetting)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code Image.NinePatchSetting}
*/
public static final class NinePatchSetting extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Image.NinePatchSetting)
NinePatchSettingOrBuilder {
private static final long serialVersionUID = 0L;
// Use NinePatchSetting.newBuilder() to construct.
private NinePatchSetting(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NinePatchSetting() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NinePatchSetting();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_NinePatchSetting_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_NinePatchSetting_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting 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(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting 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 Image.NinePatchSetting}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Image.NinePatchSetting)
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_NinePatchSetting_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_NinePatchSetting_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder.class);
}
// Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_NinePatchSetting_descriptor;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getDefaultInstanceForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance();
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting build() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting buildPartial() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting(this);
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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting) {
return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting other) {
if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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:Image.NinePatchSetting)
}
// @@protoc_insertion_point(class_scope:Image.NinePatchSetting)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NinePatchSetting parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int URLLISTLIST_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList urlListList_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string urlListList = 1;
* @return A list containing the urlListList.
*/
public com.google.protobuf.ProtocolStringList
getUrlListListList() {
return urlListList_;
}
/**
* repeated string urlListList = 1;
* @return The count of urlListList.
*/
public int getUrlListListCount() {
return urlListList_.size();
}
/**
* repeated string urlListList = 1;
* @param index The index of the element to return.
* @return The urlListList at the given index.
*/
public java.lang.String getUrlListList(int index) {
return urlListList_.get(index);
}
/**
* repeated string urlListList = 1;
* @param index The index of the value to return.
* @return The bytes of the urlListList at the given index.
*/
public com.google.protobuf.ByteString
getUrlListListBytes(int index) {
return urlListList_.getByteString(index);
}
public static final int URI_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object uri_ = "";
/**
* string uri = 2;
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = uri_;
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();
uri_ = s;
return s;
}
}
/**
* string uri = 2;
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HEIGHT_FIELD_NUMBER = 3;
private long height_ = 0L;
/**
* int64 height = 3;
* @return The height.
*/
@java.lang.Override
public long getHeight() {
return height_;
}
public static final int WIDTH_FIELD_NUMBER = 4;
private long width_ = 0L;
/**
* int64 width = 4;
* @return The width.
*/
@java.lang.Override
public long getWidth() {
return width_;
}
public static final int AVGCOLOR_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object avgColor_ = "";
/**
* string avgColor = 5;
* @return The avgColor.
*/
@java.lang.Override
public java.lang.String getAvgColor() {
java.lang.Object ref = avgColor_;
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();
avgColor_ = s;
return s;
}
}
/**
* string avgColor = 5;
* @return The bytes for avgColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAvgColorBytes() {
java.lang.Object ref = avgColor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
avgColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGETYPE_FIELD_NUMBER = 6;
private int imageType_ = 0;
/**
* int32 imageType = 6;
* @return The imageType.
*/
@java.lang.Override
public int getImageType() {
return imageType_;
}
public static final int OPENWEBURL_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object openWebUrl_ = "";
/**
* string openWebUrl = 7;
* @return The openWebUrl.
*/
@java.lang.Override
public java.lang.String getOpenWebUrl() {
java.lang.Object ref = openWebUrl_;
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();
openWebUrl_ = s;
return s;
}
}
/**
* string openWebUrl = 7;
* @return The bytes for openWebUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOpenWebUrlBytes() {
java.lang.Object ref = openWebUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openWebUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTENT_FIELD_NUMBER = 8;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content content_;
/**
* .Image.Content content = 8;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .Image.Content content = 8;
* @return The content.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getContent() {
return content_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance() : content_;
}
/**
* .Image.Content content = 8;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder getContentOrBuilder() {
return content_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance() : content_;
}
public static final int ISANIMATED_FIELD_NUMBER = 9;
private boolean isAnimated_ = false;
/**
* bool isAnimated = 9;
* @return The isAnimated.
*/
@java.lang.Override
public boolean getIsAnimated() {
return isAnimated_;
}
public static final int FLEXSETTINGLISTLIST_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private java.util.List flexSettingListList_;
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
@java.lang.Override
public java.util.List getFlexSettingListListList() {
return flexSettingListList_;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
@java.lang.Override
public java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getFlexSettingListListOrBuilderList() {
return flexSettingListList_;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
@java.lang.Override
public int getFlexSettingListListCount() {
return flexSettingListList_.size();
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getFlexSettingListList(int index) {
return flexSettingListList_.get(index);
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getFlexSettingListListOrBuilder(
int index) {
return flexSettingListList_.get(index);
}
public static final int TEXTSETTINGLISTLIST_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private java.util.List textSettingListList_;
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
@java.lang.Override
public java.util.List getTextSettingListListList() {
return textSettingListList_;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
@java.lang.Override
public java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getTextSettingListListOrBuilderList() {
return textSettingListList_;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
@java.lang.Override
public int getTextSettingListListCount() {
return textSettingListList_.size();
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getTextSettingListList(int index) {
return textSettingListList_.get(index);
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getTextSettingListListOrBuilder(
int index) {
return textSettingListList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < urlListList_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, urlListList_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
}
if (height_ != 0L) {
output.writeInt64(3, height_);
}
if (width_ != 0L) {
output.writeInt64(4, width_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(avgColor_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, avgColor_);
}
if (imageType_ != 0) {
output.writeInt32(6, imageType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openWebUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, openWebUrl_);
}
if (content_ != null) {
output.writeMessage(8, getContent());
}
if (isAnimated_ != false) {
output.writeBool(9, isAnimated_);
}
for (int i = 0; i < flexSettingListList_.size(); i++) {
output.writeMessage(10, flexSettingListList_.get(i));
}
for (int i = 0; i < textSettingListList_.size(); i++) {
output.writeMessage(11, textSettingListList_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < urlListList_.size(); i++) {
dataSize += computeStringSizeNoTag(urlListList_.getRaw(i));
}
size += dataSize;
size += 1 * getUrlListListList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_);
}
if (height_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, height_);
}
if (width_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, width_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(avgColor_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, avgColor_);
}
if (imageType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, imageType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openWebUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, openWebUrl_);
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getContent());
}
if (isAnimated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, isAnimated_);
}
for (int i = 0; i < flexSettingListList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, flexSettingListList_.get(i));
}
for (int i = 0; i < textSettingListList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, textSettingListList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image) obj;
if (!getUrlListListList()
.equals(other.getUrlListListList())) return false;
if (!getUri()
.equals(other.getUri())) return false;
if (getHeight()
!= other.getHeight()) return false;
if (getWidth()
!= other.getWidth()) return false;
if (!getAvgColor()
.equals(other.getAvgColor())) return false;
if (getImageType()
!= other.getImageType()) return false;
if (!getOpenWebUrl()
.equals(other.getOpenWebUrl())) return false;
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (getIsAnimated()
!= other.getIsAnimated()) return false;
if (!getFlexSettingListListList()
.equals(other.getFlexSettingListListList())) return false;
if (!getTextSettingListListList()
.equals(other.getTextSettingListListList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getUrlListListCount() > 0) {
hash = (37 * hash) + URLLISTLIST_FIELD_NUMBER;
hash = (53 * hash) + getUrlListListList().hashCode();
}
hash = (37 * hash) + URI_FIELD_NUMBER;
hash = (53 * hash) + getUri().hashCode();
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHeight());
hash = (37 * hash) + WIDTH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWidth());
hash = (37 * hash) + AVGCOLOR_FIELD_NUMBER;
hash = (53 * hash) + getAvgColor().hashCode();
hash = (37 * hash) + IMAGETYPE_FIELD_NUMBER;
hash = (53 * hash) + getImageType();
hash = (37 * hash) + OPENWEBURL_FIELD_NUMBER;
hash = (53 * hash) + getOpenWebUrl().hashCode();
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
hash = (37 * hash) + ISANIMATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAnimated());
if (getFlexSettingListListCount() > 0) {
hash = (37 * hash) + FLEXSETTINGLISTLIST_FIELD_NUMBER;
hash = (53 * hash) + getFlexSettingListListList().hashCode();
}
if (getTextSettingListListCount() > 0) {
hash = (37 * hash) + TEXTSETTINGLISTLIST_FIELD_NUMBER;
hash = (53 * hash) + getTextSettingListListList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image 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(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image 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 Image}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Image)
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder.class);
}
// Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
urlListList_ =
com.google.protobuf.LazyStringArrayList.emptyList();
uri_ = "";
height_ = 0L;
width_ = 0L;
avgColor_ = "";
imageType_ = 0;
openWebUrl_ = "";
content_ = null;
if (contentBuilder_ != null) {
contentBuilder_.dispose();
contentBuilder_ = null;
}
isAnimated_ = false;
if (flexSettingListListBuilder_ == null) {
flexSettingListList_ = java.util.Collections.emptyList();
} else {
flexSettingListList_ = null;
flexSettingListListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
if (textSettingListListBuilder_ == null) {
textSettingListList_ = java.util.Collections.emptyList();
} else {
textSettingListList_ = null;
textSettingListListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.internal_static_Image_descriptor;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getDefaultInstanceForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance();
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image build() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image buildPartial() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image result) {
if (flexSettingListListBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
flexSettingListList_ = java.util.Collections.unmodifiableList(flexSettingListList_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.flexSettingListList_ = flexSettingListList_;
} else {
result.flexSettingListList_ = flexSettingListListBuilder_.build();
}
if (textSettingListListBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0)) {
textSettingListList_ = java.util.Collections.unmodifiableList(textSettingListList_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.textSettingListList_ = textSettingListList_;
} else {
result.textSettingListList_ = textSettingListListBuilder_.build();
}
}
private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
urlListList_.makeImmutable();
result.urlListList_ = urlListList_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.uri_ = uri_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.height_ = height_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.width_ = width_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.avgColor_ = avgColor_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.imageType_ = imageType_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.openWebUrl_ = openWebUrl_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.content_ = contentBuilder_ == null
? content_
: contentBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.isAnimated_ = isAnimated_;
}
}
@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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image) {
return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image other) {
if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) return this;
if (!other.urlListList_.isEmpty()) {
if (urlListList_.isEmpty()) {
urlListList_ = other.urlListList_;
bitField0_ |= 0x00000001;
} else {
ensureUrlListListIsMutable();
urlListList_.addAll(other.urlListList_);
}
onChanged();
}
if (!other.getUri().isEmpty()) {
uri_ = other.uri_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getHeight() != 0L) {
setHeight(other.getHeight());
}
if (other.getWidth() != 0L) {
setWidth(other.getWidth());
}
if (!other.getAvgColor().isEmpty()) {
avgColor_ = other.avgColor_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.getImageType() != 0) {
setImageType(other.getImageType());
}
if (!other.getOpenWebUrl().isEmpty()) {
openWebUrl_ = other.openWebUrl_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.getIsAnimated() != false) {
setIsAnimated(other.getIsAnimated());
}
if (flexSettingListListBuilder_ == null) {
if (!other.flexSettingListList_.isEmpty()) {
if (flexSettingListList_.isEmpty()) {
flexSettingListList_ = other.flexSettingListList_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureFlexSettingListListIsMutable();
flexSettingListList_.addAll(other.flexSettingListList_);
}
onChanged();
}
} else {
if (!other.flexSettingListList_.isEmpty()) {
if (flexSettingListListBuilder_.isEmpty()) {
flexSettingListListBuilder_.dispose();
flexSettingListListBuilder_ = null;
flexSettingListList_ = other.flexSettingListList_;
bitField0_ = (bitField0_ & ~0x00000200);
flexSettingListListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFlexSettingListListFieldBuilder() : null;
} else {
flexSettingListListBuilder_.addAllMessages(other.flexSettingListList_);
}
}
}
if (textSettingListListBuilder_ == null) {
if (!other.textSettingListList_.isEmpty()) {
if (textSettingListList_.isEmpty()) {
textSettingListList_ = other.textSettingListList_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureTextSettingListListIsMutable();
textSettingListList_.addAll(other.textSettingListList_);
}
onChanged();
}
} else {
if (!other.textSettingListList_.isEmpty()) {
if (textSettingListListBuilder_.isEmpty()) {
textSettingListListBuilder_.dispose();
textSettingListListBuilder_ = null;
textSettingListList_ = other.textSettingListList_;
bitField0_ = (bitField0_ & ~0x00000400);
textSettingListListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTextSettingListListFieldBuilder() : null;
} else {
textSettingListListBuilder_.addAllMessages(other.textSettingListList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
ensureUrlListListIsMutable();
urlListList_.add(s);
break;
} // case 10
case 18: {
uri_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
height_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
width_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
avgColor_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
imageType_ = input.readInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
openWebUrl_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 72: {
isAnimated_ = input.readBool();
bitField0_ |= 0x00000100;
break;
} // case 72
case 82: {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting m =
input.readMessage(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.parser(),
extensionRegistry);
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
flexSettingListList_.add(m);
} else {
flexSettingListListBuilder_.addMessage(m);
}
break;
} // case 82
case 90: {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting m =
input.readMessage(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.parser(),
extensionRegistry);
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
textSettingListList_.add(m);
} else {
textSettingListListBuilder_.addMessage(m);
}
break;
} // case 90
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList urlListList_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureUrlListListIsMutable() {
if (!urlListList_.isModifiable()) {
urlListList_ = new com.google.protobuf.LazyStringArrayList(urlListList_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated string urlListList = 1;
* @return A list containing the urlListList.
*/
public com.google.protobuf.ProtocolStringList
getUrlListListList() {
urlListList_.makeImmutable();
return urlListList_;
}
/**
* repeated string urlListList = 1;
* @return The count of urlListList.
*/
public int getUrlListListCount() {
return urlListList_.size();
}
/**
* repeated string urlListList = 1;
* @param index The index of the element to return.
* @return The urlListList at the given index.
*/
public java.lang.String getUrlListList(int index) {
return urlListList_.get(index);
}
/**
* repeated string urlListList = 1;
* @param index The index of the value to return.
* @return The bytes of the urlListList at the given index.
*/
public com.google.protobuf.ByteString
getUrlListListBytes(int index) {
return urlListList_.getByteString(index);
}
/**
* repeated string urlListList = 1;
* @param index The index to set the value at.
* @param value The urlListList to set.
* @return This builder for chaining.
*/
public Builder setUrlListList(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureUrlListListIsMutable();
urlListList_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string urlListList = 1;
* @param value The urlListList to add.
* @return This builder for chaining.
*/
public Builder addUrlListList(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureUrlListListIsMutable();
urlListList_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string urlListList = 1;
* @param values The urlListList to add.
* @return This builder for chaining.
*/
public Builder addAllUrlListList(
java.lang.Iterable values) {
ensureUrlListListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, urlListList_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string urlListList = 1;
* @return This builder for chaining.
*/
public Builder clearUrlListList() {
urlListList_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* repeated string urlListList = 1;
* @param value The bytes of the urlListList to add.
* @return This builder for chaining.
*/
public Builder addUrlListListBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureUrlListListIsMutable();
urlListList_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object uri_ = "";
/**
* string uri = 2;
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string uri = 2;
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string uri = 2;
* @param value The uri to set.
* @return This builder for chaining.
*/
public Builder setUri(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
uri_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string uri = 2;
* @return This builder for chaining.
*/
public Builder clearUri() {
uri_ = getDefaultInstance().getUri();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string uri = 2;
* @param value The bytes for uri to set.
* @return This builder for chaining.
*/
public Builder setUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
uri_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long height_ ;
/**
* int64 height = 3;
* @return The height.
*/
@java.lang.Override
public long getHeight() {
return height_;
}
/**
* int64 height = 3;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(long value) {
height_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* int64 height = 3;
* @return This builder for chaining.
*/
public Builder clearHeight() {
bitField0_ = (bitField0_ & ~0x00000004);
height_ = 0L;
onChanged();
return this;
}
private long width_ ;
/**
* int64 width = 4;
* @return The width.
*/
@java.lang.Override
public long getWidth() {
return width_;
}
/**
* int64 width = 4;
* @param value The width to set.
* @return This builder for chaining.
*/
public Builder setWidth(long value) {
width_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* int64 width = 4;
* @return This builder for chaining.
*/
public Builder clearWidth() {
bitField0_ = (bitField0_ & ~0x00000008);
width_ = 0L;
onChanged();
return this;
}
private java.lang.Object avgColor_ = "";
/**
* string avgColor = 5;
* @return The avgColor.
*/
public java.lang.String getAvgColor() {
java.lang.Object ref = avgColor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
avgColor_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string avgColor = 5;
* @return The bytes for avgColor.
*/
public com.google.protobuf.ByteString
getAvgColorBytes() {
java.lang.Object ref = avgColor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
avgColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string avgColor = 5;
* @param value The avgColor to set.
* @return This builder for chaining.
*/
public Builder setAvgColor(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
avgColor_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* string avgColor = 5;
* @return This builder for chaining.
*/
public Builder clearAvgColor() {
avgColor_ = getDefaultInstance().getAvgColor();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string avgColor = 5;
* @param value The bytes for avgColor to set.
* @return This builder for chaining.
*/
public Builder setAvgColorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
avgColor_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int imageType_ ;
/**
* int32 imageType = 6;
* @return The imageType.
*/
@java.lang.Override
public int getImageType() {
return imageType_;
}
/**
* int32 imageType = 6;
* @param value The imageType to set.
* @return This builder for chaining.
*/
public Builder setImageType(int value) {
imageType_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* int32 imageType = 6;
* @return This builder for chaining.
*/
public Builder clearImageType() {
bitField0_ = (bitField0_ & ~0x00000020);
imageType_ = 0;
onChanged();
return this;
}
private java.lang.Object openWebUrl_ = "";
/**
* string openWebUrl = 7;
* @return The openWebUrl.
*/
public java.lang.String getOpenWebUrl() {
java.lang.Object ref = openWebUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
openWebUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string openWebUrl = 7;
* @return The bytes for openWebUrl.
*/
public com.google.protobuf.ByteString
getOpenWebUrlBytes() {
java.lang.Object ref = openWebUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openWebUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string openWebUrl = 7;
* @param value The openWebUrl to set.
* @return This builder for chaining.
*/
public Builder setOpenWebUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
openWebUrl_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* string openWebUrl = 7;
* @return This builder for chaining.
*/
public Builder clearOpenWebUrl() {
openWebUrl_ = getDefaultInstance().getOpenWebUrl();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* string openWebUrl = 7;
* @param value The bytes for openWebUrl to set.
* @return This builder for chaining.
*/
public Builder setOpenWebUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
openWebUrl_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content content_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder> contentBuilder_;
/**
* .Image.Content content = 8;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* .Image.Content content = 8;
* @return The content.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content getContent() {
if (contentBuilder_ == null) {
return content_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .Image.Content content = 8;
*/
public Builder setContent(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
} else {
contentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* .Image.Content content = 8;
*/
public Builder setContent(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* .Image.Content content = 8;
*/
public Builder mergeContent(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content value) {
if (contentBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
content_ != null &&
content_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance()) {
getContentBuilder().mergeFrom(value);
} else {
content_ = value;
}
} else {
contentBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* .Image.Content content = 8;
*/
public Builder clearContent() {
bitField0_ = (bitField0_ & ~0x00000080);
content_ = null;
if (contentBuilder_ != null) {
contentBuilder_.dispose();
contentBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Image.Content content = 8;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder getContentBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .Image.Content content = 8;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.getDefaultInstance() : content_;
}
}
/**
* .Image.Content content = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Content.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.ContentOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private boolean isAnimated_ ;
/**
* bool isAnimated = 9;
* @return The isAnimated.
*/
@java.lang.Override
public boolean getIsAnimated() {
return isAnimated_;
}
/**
* bool isAnimated = 9;
* @param value The isAnimated to set.
* @return This builder for chaining.
*/
public Builder setIsAnimated(boolean value) {
isAnimated_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* bool isAnimated = 9;
* @return This builder for chaining.
*/
public Builder clearIsAnimated() {
bitField0_ = (bitField0_ & ~0x00000100);
isAnimated_ = false;
onChanged();
return this;
}
private java.util.List flexSettingListList_ =
java.util.Collections.emptyList();
private void ensureFlexSettingListListIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
flexSettingListList_ = new java.util.ArrayList(flexSettingListList_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder> flexSettingListListBuilder_;
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public java.util.List getFlexSettingListListList() {
if (flexSettingListListBuilder_ == null) {
return java.util.Collections.unmodifiableList(flexSettingListList_);
} else {
return flexSettingListListBuilder_.getMessageList();
}
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public int getFlexSettingListListCount() {
if (flexSettingListListBuilder_ == null) {
return flexSettingListList_.size();
} else {
return flexSettingListListBuilder_.getCount();
}
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getFlexSettingListList(int index) {
if (flexSettingListListBuilder_ == null) {
return flexSettingListList_.get(index);
} else {
return flexSettingListListBuilder_.getMessage(index);
}
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder setFlexSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (flexSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlexSettingListListIsMutable();
flexSettingListList_.set(index, value);
onChanged();
} else {
flexSettingListListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder setFlexSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
flexSettingListList_.set(index, builderForValue.build());
onChanged();
} else {
flexSettingListListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder addFlexSettingListList(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (flexSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlexSettingListListIsMutable();
flexSettingListList_.add(value);
onChanged();
} else {
flexSettingListListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder addFlexSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (flexSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlexSettingListListIsMutable();
flexSettingListList_.add(index, value);
onChanged();
} else {
flexSettingListListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder addFlexSettingListList(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
flexSettingListList_.add(builderForValue.build());
onChanged();
} else {
flexSettingListListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder addFlexSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
flexSettingListList_.add(index, builderForValue.build());
onChanged();
} else {
flexSettingListListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder addAllFlexSettingListList(
java.lang.Iterable extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting> values) {
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, flexSettingListList_);
onChanged();
} else {
flexSettingListListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder clearFlexSettingListList() {
if (flexSettingListListBuilder_ == null) {
flexSettingListList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
flexSettingListListBuilder_.clear();
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public Builder removeFlexSettingListList(int index) {
if (flexSettingListListBuilder_ == null) {
ensureFlexSettingListListIsMutable();
flexSettingListList_.remove(index);
onChanged();
} else {
flexSettingListListBuilder_.remove(index);
}
return this;
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder getFlexSettingListListBuilder(
int index) {
return getFlexSettingListListFieldBuilder().getBuilder(index);
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getFlexSettingListListOrBuilder(
int index) {
if (flexSettingListListBuilder_ == null) {
return flexSettingListList_.get(index); } else {
return flexSettingListListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getFlexSettingListListOrBuilderList() {
if (flexSettingListListBuilder_ != null) {
return flexSettingListListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(flexSettingListList_);
}
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder addFlexSettingListListBuilder() {
return getFlexSettingListListFieldBuilder().addBuilder(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance());
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder addFlexSettingListListBuilder(
int index) {
return getFlexSettingListListFieldBuilder().addBuilder(
index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance());
}
/**
* repeated .Image.NinePatchSetting flexSettingListList = 10;
*/
public java.util.List
getFlexSettingListListBuilderList() {
return getFlexSettingListListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getFlexSettingListListFieldBuilder() {
if (flexSettingListListBuilder_ == null) {
flexSettingListListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>(
flexSettingListList_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
flexSettingListList_ = null;
}
return flexSettingListListBuilder_;
}
private java.util.List textSettingListList_ =
java.util.Collections.emptyList();
private void ensureTextSettingListListIsMutable() {
if (!((bitField0_ & 0x00000400) != 0)) {
textSettingListList_ = new java.util.ArrayList(textSettingListList_);
bitField0_ |= 0x00000400;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder> textSettingListListBuilder_;
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public java.util.List getTextSettingListListList() {
if (textSettingListListBuilder_ == null) {
return java.util.Collections.unmodifiableList(textSettingListList_);
} else {
return textSettingListListBuilder_.getMessageList();
}
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public int getTextSettingListListCount() {
if (textSettingListListBuilder_ == null) {
return textSettingListList_.size();
} else {
return textSettingListListBuilder_.getCount();
}
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting getTextSettingListList(int index) {
if (textSettingListListBuilder_ == null) {
return textSettingListList_.get(index);
} else {
return textSettingListListBuilder_.getMessage(index);
}
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder setTextSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (textSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextSettingListListIsMutable();
textSettingListList_.set(index, value);
onChanged();
} else {
textSettingListListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder setTextSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
textSettingListList_.set(index, builderForValue.build());
onChanged();
} else {
textSettingListListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder addTextSettingListList(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (textSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextSettingListListIsMutable();
textSettingListList_.add(value);
onChanged();
} else {
textSettingListListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder addTextSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting value) {
if (textSettingListListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextSettingListListIsMutable();
textSettingListList_.add(index, value);
onChanged();
} else {
textSettingListListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder addTextSettingListList(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
textSettingListList_.add(builderForValue.build());
onChanged();
} else {
textSettingListListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder addTextSettingListList(
int index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder builderForValue) {
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
textSettingListList_.add(index, builderForValue.build());
onChanged();
} else {
textSettingListListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder addAllTextSettingListList(
java.lang.Iterable extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting> values) {
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, textSettingListList_);
onChanged();
} else {
textSettingListListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder clearTextSettingListList() {
if (textSettingListListBuilder_ == null) {
textSettingListList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
textSettingListListBuilder_.clear();
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public Builder removeTextSettingListList(int index) {
if (textSettingListListBuilder_ == null) {
ensureTextSettingListListIsMutable();
textSettingListList_.remove(index);
onChanged();
} else {
textSettingListListBuilder_.remove(index);
}
return this;
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder getTextSettingListListBuilder(
int index) {
return getTextSettingListListFieldBuilder().getBuilder(index);
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder getTextSettingListListOrBuilder(
int index) {
if (textSettingListListBuilder_ == null) {
return textSettingListList_.get(index); } else {
return textSettingListListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public java.util.List extends tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getTextSettingListListOrBuilderList() {
if (textSettingListListBuilder_ != null) {
return textSettingListListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(textSettingListList_);
}
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder addTextSettingListListBuilder() {
return getTextSettingListListFieldBuilder().addBuilder(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance());
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder addTextSettingListListBuilder(
int index) {
return getTextSettingListListFieldBuilder().addBuilder(
index, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.getDefaultInstance());
}
/**
* repeated .Image.NinePatchSetting textSettingListList = 11;
*/
public java.util.List
getTextSettingListListBuilderList() {
return getTextSettingListListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>
getTextSettingListListFieldBuilder() {
if (textSettingListListBuilder_ == null) {
textSettingListListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSetting.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.NinePatchSettingOrBuilder>(
textSettingListList_,
((bitField0_ & 0x00000400) != 0),
getParentForChildren(),
isClean());
textSettingListList_ = null;
}
return textSettingListListBuilder_;
}
@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:Image)
}
// @@protoc_insertion_point(class_scope:Image)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Image parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Image_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Image_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Image_Content_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Image_Content_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Image_NinePatchSetting_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Image_NinePatchSetting_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\013Image.proto\"\212\003\n\005Image\022\023\n\013urlListList\030\001" +
" \003(\t\022\013\n\003uri\030\002 \001(\t\022\016\n\006height\030\003 \001(\003\022\r\n\005wid" +
"th\030\004 \001(\003\022\020\n\010avgColor\030\005 \001(\t\022\021\n\timageType\030" +
"\006 \001(\005\022\022\n\nopenWebUrl\030\007 \001(\t\022\037\n\007content\030\010 \001" +
"(\0132\016.Image.Content\022\022\n\nisAnimated\030\t \001(\010\0224" +
"\n\023flexSettingListList\030\n \003(\0132\027.Image.Nine" +
"PatchSetting\0224\n\023textSettingListList\030\013 \003(" +
"\0132\027.Image.NinePatchSetting\032R\n\007Content\022\014\n" +
"\004name\030\001 \001(\t\022\021\n\tfontColor\030\002 \001(\t\022\r\n\005level\030" +
"\003 \001(\003\022\027\n\017alternativeText\030\004 \001(\t\032\022\n\020NinePa" +
"tchSettingB8\n6tech.ordinaryroad.live.cha" +
"t.client.douyin.protobuf.dtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_Image_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Image_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Image_descriptor,
new java.lang.String[] { "UrlListList", "Uri", "Height", "Width", "AvgColor", "ImageType", "OpenWebUrl", "Content", "IsAnimated", "FlexSettingListList", "TextSettingListList", });
internal_static_Image_Content_descriptor =
internal_static_Image_descriptor.getNestedTypes().get(0);
internal_static_Image_Content_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Image_Content_descriptor,
new java.lang.String[] { "Name", "FontColor", "Level", "AlternativeText", });
internal_static_Image_NinePatchSetting_descriptor =
internal_static_Image_descriptor.getNestedTypes().get(1);
internal_static_Image_NinePatchSetting_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Image_NinePatchSetting_descriptor,
new java.lang.String[] { });
}
// @@protoc_insertion_point(outer_class_scope)
}