类 WebGiftFeedOuterClass.WebGiftFeed.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
tech.ordinaryroad.live.chat.client.kuaishou.protobuf.WebGiftFeedOuterClass.WebGiftFeed.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,WebGiftFeedOuterClass.WebGiftFeedOrBuilder
public static final class WebGiftFeedOuterClass.WebGiftFeed.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
implements WebGiftFeedOuterClass.WebGiftFeedOrBuilder
Protobuf type
WebGiftFeed-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()uint32 batchSize = 7;uint64 clientTimestamp = 11;uint32 comboCount = 8;bool danmakuDisplay = 17;string deviceHash = 16;uint64 expireDuration = 10;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()string id = 1;uint32 intGiftId = 4;.WebLiveAssistantType liveAssistantType = 15;string mergeKey = 6;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) uint32 rank = 9;uint64 slotDisplayDuration = 12;uint64 sortRank = 5;uint32 starLevel = 13;.WebGiftFeed.StyleType styleType = 14;uint64 time = 3;.SimpleUserInfo user = 2;clone()intuint32 batchSize = 7;longuint64 clientTimestamp = 11;intuint32 comboCount = 8;booleanbool danmakuDisplay = 17;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring deviceHash = 16;com.google.protobuf.ByteStringstring deviceHash = 16;longuint64 expireDuration = 10;getId()string id = 1;com.google.protobuf.ByteStringstring id = 1;intuint32 intGiftId = 4;.WebLiveAssistantType liveAssistantType = 15;int.WebLiveAssistantType liveAssistantType = 15;string mergeKey = 6;com.google.protobuf.ByteStringstring mergeKey = 6;intgetRank()uint32 rank = 9;longuint64 slotDisplayDuration = 12;longuint64 sortRank = 5;intuint32 starLevel = 13;.WebGiftFeed.StyleType styleType = 14;int.WebGiftFeed.StyleType styleType = 14;longgetTime()uint64 time = 3;getUser().SimpleUserInfo user = 2;.SimpleUserInfo user = 2;.SimpleUserInfo user = 2;booleanhasUser().SimpleUserInfo user = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .SimpleUserInfo user = 2;setBatchSize(int value) uint32 batchSize = 7;setClientTimestamp(long value) uint64 clientTimestamp = 11;setComboCount(int value) uint32 comboCount = 8;setDanmakuDisplay(boolean value) bool danmakuDisplay = 17;setDeviceHash(String value) string deviceHash = 16;setDeviceHashBytes(com.google.protobuf.ByteString value) string deviceHash = 16;setExpireDuration(long value) uint64 expireDuration = 10;string id = 1;setIdBytes(com.google.protobuf.ByteString value) string id = 1;setIntGiftId(int value) uint32 intGiftId = 4;.WebLiveAssistantType liveAssistantType = 15;setLiveAssistantTypeValue(int value) .WebLiveAssistantType liveAssistantType = 15;setMergeKey(String value) string mergeKey = 6;setMergeKeyBytes(com.google.protobuf.ByteString value) string mergeKey = 6;setRank(int value) uint32 rank = 9;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSlotDisplayDuration(long value) uint64 slotDisplayDuration = 12;setSortRank(long value) uint64 sortRank = 5;setStarLevel(int value) uint32 starLevel = 13;.WebGiftFeed.StyleType styleType = 14;setStyleTypeValue(int value) .WebGiftFeed.StyleType styleType = 14;setTime(long value) uint64 time = 3;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .SimpleUserInfo user = 2;setUser(SimpleUserInfoOuterClass.SimpleUserInfo.Builder builderForValue) .SimpleUserInfo user = 2;从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
setField
public WebGiftFeedOuterClass.WebGiftFeed.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
clearField
public WebGiftFeedOuterClass.WebGiftFeed.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
clearOneof
public WebGiftFeedOuterClass.WebGiftFeed.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
setRepeatedField
public WebGiftFeedOuterClass.WebGiftFeed.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
addRepeatedField
public WebGiftFeedOuterClass.WebGiftFeed.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
mergeFrom
public WebGiftFeedOuterClass.WebGiftFeed.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>- 抛出:
IOException
-
getId
string id = 1;- 指定者:
getId在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1;- 指定者:
getIdBytes在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The bytes for id.
-
setId
string id = 1;- 参数:
value- The id to set.- 返回:
- This builder for chaining.
-
clearId
string id = 1;- 返回:
- This builder for chaining.
-
setIdBytes
string id = 1;- 参数:
value- The bytes for id to set.- 返回:
- This builder for chaining.
-
hasUser
public boolean hasUser().SimpleUserInfo user = 2;- 指定者:
hasUser在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- Whether the user field is set.
-
getUser
.SimpleUserInfo user = 2;- 指定者:
getUser在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The user.
-
setUser
public WebGiftFeedOuterClass.WebGiftFeed.Builder setUser(SimpleUserInfoOuterClass.SimpleUserInfo value) .SimpleUserInfo user = 2; -
setUser
public WebGiftFeedOuterClass.WebGiftFeed.Builder setUser(SimpleUserInfoOuterClass.SimpleUserInfo.Builder builderForValue) .SimpleUserInfo user = 2; -
mergeUser
public WebGiftFeedOuterClass.WebGiftFeed.Builder mergeUser(SimpleUserInfoOuterClass.SimpleUserInfo value) .SimpleUserInfo user = 2; -
clearUser
.SimpleUserInfo user = 2; -
getUserBuilder
.SimpleUserInfo user = 2; -
getUserOrBuilder
.SimpleUserInfo user = 2; -
getTime
public long getTime()uint64 time = 3;- 指定者:
getTime在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The time.
-
setTime
uint64 time = 3;- 参数:
value- The time to set.- 返回:
- This builder for chaining.
-
clearTime
uint64 time = 3;- 返回:
- This builder for chaining.
-
getIntGiftId
public int getIntGiftId()uint32 intGiftId = 4;- 指定者:
getIntGiftId在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The intGiftId.
-
setIntGiftId
uint32 intGiftId = 4;- 参数:
value- The intGiftId to set.- 返回:
- This builder for chaining.
-
clearIntGiftId
uint32 intGiftId = 4;- 返回:
- This builder for chaining.
-
getSortRank
public long getSortRank()uint64 sortRank = 5;- 指定者:
getSortRank在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The sortRank.
-
setSortRank
uint64 sortRank = 5;- 参数:
value- The sortRank to set.- 返回:
- This builder for chaining.
-
clearSortRank
uint64 sortRank = 5;- 返回:
- This builder for chaining.
-
getMergeKey
string mergeKey = 6;- 指定者:
getMergeKey在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The mergeKey.
-
getMergeKeyBytes
public com.google.protobuf.ByteString getMergeKeyBytes()string mergeKey = 6;- 指定者:
getMergeKeyBytes在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The bytes for mergeKey.
-
setMergeKey
string mergeKey = 6;- 参数:
value- The mergeKey to set.- 返回:
- This builder for chaining.
-
clearMergeKey
string mergeKey = 6;- 返回:
- This builder for chaining.
-
setMergeKeyBytes
public WebGiftFeedOuterClass.WebGiftFeed.Builder setMergeKeyBytes(com.google.protobuf.ByteString value) string mergeKey = 6;- 参数:
value- The bytes for mergeKey to set.- 返回:
- This builder for chaining.
-
getBatchSize
public int getBatchSize()uint32 batchSize = 7;- 指定者:
getBatchSize在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The batchSize.
-
setBatchSize
uint32 batchSize = 7;- 参数:
value- The batchSize to set.- 返回:
- This builder for chaining.
-
clearBatchSize
uint32 batchSize = 7;- 返回:
- This builder for chaining.
-
getComboCount
public int getComboCount()uint32 comboCount = 8;- 指定者:
getComboCount在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The comboCount.
-
setComboCount
uint32 comboCount = 8;- 参数:
value- The comboCount to set.- 返回:
- This builder for chaining.
-
clearComboCount
uint32 comboCount = 8;- 返回:
- This builder for chaining.
-
getRank
public int getRank()uint32 rank = 9;- 指定者:
getRank在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The rank.
-
setRank
uint32 rank = 9;- 参数:
value- The rank to set.- 返回:
- This builder for chaining.
-
clearRank
uint32 rank = 9;- 返回:
- This builder for chaining.
-
getExpireDuration
public long getExpireDuration()uint64 expireDuration = 10;- 指定者:
getExpireDuration在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The expireDuration.
-
setExpireDuration
uint64 expireDuration = 10;- 参数:
value- The expireDuration to set.- 返回:
- This builder for chaining.
-
clearExpireDuration
uint64 expireDuration = 10;- 返回:
- This builder for chaining.
-
getClientTimestamp
public long getClientTimestamp()uint64 clientTimestamp = 11;- 指定者:
getClientTimestamp在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The clientTimestamp.
-
setClientTimestamp
uint64 clientTimestamp = 11;- 参数:
value- The clientTimestamp to set.- 返回:
- This builder for chaining.
-
clearClientTimestamp
uint64 clientTimestamp = 11;- 返回:
- This builder for chaining.
-
getSlotDisplayDuration
public long getSlotDisplayDuration()uint64 slotDisplayDuration = 12;- 指定者:
getSlotDisplayDuration在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The slotDisplayDuration.
-
setSlotDisplayDuration
uint64 slotDisplayDuration = 12;- 参数:
value- The slotDisplayDuration to set.- 返回:
- This builder for chaining.
-
clearSlotDisplayDuration
uint64 slotDisplayDuration = 12;- 返回:
- This builder for chaining.
-
getStarLevel
public int getStarLevel()uint32 starLevel = 13;- 指定者:
getStarLevel在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The starLevel.
-
setStarLevel
uint32 starLevel = 13;- 参数:
value- The starLevel to set.- 返回:
- This builder for chaining.
-
clearStarLevel
uint32 starLevel = 13;- 返回:
- This builder for chaining.
-
getStyleTypeValue
public int getStyleTypeValue().WebGiftFeed.StyleType styleType = 14;- 指定者:
getStyleTypeValue在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The enum numeric value on the wire for styleType.
-
setStyleTypeValue
.WebGiftFeed.StyleType styleType = 14;- 参数:
value- The enum numeric value on the wire for styleType to set.- 返回:
- This builder for chaining.
-
getStyleType
.WebGiftFeed.StyleType styleType = 14;- 指定者:
getStyleType在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The styleType.
-
setStyleType
public WebGiftFeedOuterClass.WebGiftFeed.Builder setStyleType(WebGiftFeedOuterClass.WebGiftFeed.StyleType value) .WebGiftFeed.StyleType styleType = 14;- 参数:
value- The styleType to set.- 返回:
- This builder for chaining.
-
clearStyleType
.WebGiftFeed.StyleType styleType = 14;- 返回:
- This builder for chaining.
-
getLiveAssistantTypeValue
public int getLiveAssistantTypeValue().WebLiveAssistantType liveAssistantType = 15;- 指定者:
getLiveAssistantTypeValue在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The enum numeric value on the wire for liveAssistantType.
-
setLiveAssistantTypeValue
.WebLiveAssistantType liveAssistantType = 15;- 参数:
value- The enum numeric value on the wire for liveAssistantType to set.- 返回:
- This builder for chaining.
-
getLiveAssistantType
.WebLiveAssistantType liveAssistantType = 15;- 指定者:
getLiveAssistantType在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The liveAssistantType.
-
setLiveAssistantType
public WebGiftFeedOuterClass.WebGiftFeed.Builder setLiveAssistantType(WebLiveAssistantTypeOuterClass.WebLiveAssistantType value) .WebLiveAssistantType liveAssistantType = 15;- 参数:
value- The liveAssistantType to set.- 返回:
- This builder for chaining.
-
clearLiveAssistantType
.WebLiveAssistantType liveAssistantType = 15;- 返回:
- This builder for chaining.
-
getDeviceHash
string deviceHash = 16;- 指定者:
getDeviceHash在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The deviceHash.
-
getDeviceHashBytes
public com.google.protobuf.ByteString getDeviceHashBytes()string deviceHash = 16;- 指定者:
getDeviceHashBytes在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The bytes for deviceHash.
-
setDeviceHash
string deviceHash = 16;- 参数:
value- The deviceHash to set.- 返回:
- This builder for chaining.
-
clearDeviceHash
string deviceHash = 16;- 返回:
- This builder for chaining.
-
setDeviceHashBytes
public WebGiftFeedOuterClass.WebGiftFeed.Builder setDeviceHashBytes(com.google.protobuf.ByteString value) string deviceHash = 16;- 参数:
value- The bytes for deviceHash to set.- 返回:
- This builder for chaining.
-
getDanmakuDisplay
public boolean getDanmakuDisplay()bool danmakuDisplay = 17;- 指定者:
getDanmakuDisplay在接口中WebGiftFeedOuterClass.WebGiftFeedOrBuilder- 返回:
- The danmakuDisplay.
-
setDanmakuDisplay
bool danmakuDisplay = 17;- 参数:
value- The danmakuDisplay to set.- 返回:
- This builder for chaining.
-
clearDanmakuDisplay
bool danmakuDisplay = 17;- 返回:
- This builder for chaining.
-
setUnknownFields
public final WebGiftFeedOuterClass.WebGiftFeed.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-
mergeUnknownFields
public final WebGiftFeedOuterClass.WebGiftFeed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<WebGiftFeedOuterClass.WebGiftFeed.Builder>
-