public static final class SignalServiceProtos.AttachmentPointer.Builder extends com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder> implements SignalServiceProtos.AttachmentPointerOrBuilder
signalservice.AttachmentPointer| Modifier and Type | Method and Description |
|---|---|
SignalServiceProtos.AttachmentPointer |
build() |
SignalServiceProtos.AttachmentPointer |
buildPartial() |
SignalServiceProtos.AttachmentPointer.Builder |
clear() |
SignalServiceProtos.AttachmentPointer.Builder |
clearContentType()
optional string contentType = 2; |
SignalServiceProtos.AttachmentPointer.Builder |
clearId()
optional fixed64 id = 1; |
SignalServiceProtos.AttachmentPointer.Builder |
clearKey()
optional bytes key = 3; |
SignalServiceProtos.AttachmentPointer.Builder |
clearSize()
optional uint32 size = 4; |
SignalServiceProtos.AttachmentPointer.Builder |
clearThumbnail()
optional bytes thumbnail = 5; |
SignalServiceProtos.AttachmentPointer.Builder |
clone() |
java.lang.String |
getContentType()
optional string contentType = 2; |
com.google.protobuf.ByteString |
getContentTypeBytes()
optional string contentType = 2; |
SignalServiceProtos.AttachmentPointer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
optional fixed64 id = 1; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 3; |
int |
getSize()
optional uint32 size = 4; |
com.google.protobuf.ByteString |
getThumbnail()
optional bytes thumbnail = 5; |
boolean |
hasContentType()
optional string contentType = 2; |
boolean |
hasId()
optional fixed64 id = 1; |
boolean |
hasKey()
optional bytes key = 3; |
boolean |
hasSize()
optional uint32 size = 4; |
boolean |
hasThumbnail()
optional bytes thumbnail = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SignalServiceProtos.AttachmentPointer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SignalServiceProtos.AttachmentPointer.Builder |
mergeFrom(com.google.protobuf.Message other) |
SignalServiceProtos.AttachmentPointer.Builder |
mergeFrom(SignalServiceProtos.AttachmentPointer other) |
SignalServiceProtos.AttachmentPointer.Builder |
setContentType(java.lang.String value)
optional string contentType = 2; |
SignalServiceProtos.AttachmentPointer.Builder |
setContentTypeBytes(com.google.protobuf.ByteString value)
optional string contentType = 2; |
SignalServiceProtos.AttachmentPointer.Builder |
setId(long value)
optional fixed64 id = 1; |
SignalServiceProtos.AttachmentPointer.Builder |
setKey(com.google.protobuf.ByteString value)
optional bytes key = 3; |
SignalServiceProtos.AttachmentPointer.Builder |
setSize(int value)
optional uint32 size = 4; |
SignalServiceProtos.AttachmentPointer.Builder |
setThumbnail(com.google.protobuf.ByteString value)
optional bytes thumbnail = 5; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public SignalServiceProtos.AttachmentPointer.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public SignalServiceProtos.AttachmentPointer.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public SignalServiceProtos.AttachmentPointer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SignalServiceProtos.AttachmentPointer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SignalServiceProtos.AttachmentPointer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SignalServiceProtos.AttachmentPointer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public SignalServiceProtos.AttachmentPointer.Builder mergeFrom(SignalServiceProtos.AttachmentPointer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>public SignalServiceProtos.AttachmentPointer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignalServiceProtos.AttachmentPointer.Builder>java.io.IOExceptionpublic boolean hasId()
optional fixed64 id = 1;hasId in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic long getId()
optional fixed64 id = 1;getId in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic SignalServiceProtos.AttachmentPointer.Builder setId(long value)
optional fixed64 id = 1;public SignalServiceProtos.AttachmentPointer.Builder clearId()
optional fixed64 id = 1;public boolean hasContentType()
optional string contentType = 2;hasContentType in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic java.lang.String getContentType()
optional string contentType = 2;getContentType in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
optional string contentType = 2;getContentTypeBytes in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic SignalServiceProtos.AttachmentPointer.Builder setContentType(java.lang.String value)
optional string contentType = 2;public SignalServiceProtos.AttachmentPointer.Builder clearContentType()
optional string contentType = 2;public SignalServiceProtos.AttachmentPointer.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
optional string contentType = 2;public boolean hasKey()
optional bytes key = 3;hasKey in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic com.google.protobuf.ByteString getKey()
optional bytes key = 3;getKey in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic SignalServiceProtos.AttachmentPointer.Builder setKey(com.google.protobuf.ByteString value)
optional bytes key = 3;public SignalServiceProtos.AttachmentPointer.Builder clearKey()
optional bytes key = 3;public boolean hasSize()
optional uint32 size = 4;hasSize in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic int getSize()
optional uint32 size = 4;getSize in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic SignalServiceProtos.AttachmentPointer.Builder setSize(int value)
optional uint32 size = 4;public SignalServiceProtos.AttachmentPointer.Builder clearSize()
optional uint32 size = 4;public boolean hasThumbnail()
optional bytes thumbnail = 5;hasThumbnail in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic com.google.protobuf.ByteString getThumbnail()
optional bytes thumbnail = 5;getThumbnail in interface SignalServiceProtos.AttachmentPointerOrBuilderpublic SignalServiceProtos.AttachmentPointer.Builder setThumbnail(com.google.protobuf.ByteString value)
optional bytes thumbnail = 5;public SignalServiceProtos.AttachmentPointer.Builder clearThumbnail()
optional bytes thumbnail = 5;