public static final class FileSegment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder> implements FileSegmentOrBuilder
io.grpc.FileSegment| Modifier and Type | Method and Description |
|---|---|
FileSegment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileSegment |
build() |
FileSegment |
buildPartial() |
FileSegment.Builder |
clear() |
FileSegment.Builder |
clearContentType()
optional string contentType = 2; |
FileSegment.Builder |
clearData()
optional bytes data = 4; |
FileSegment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FileSegment.Builder |
clearLength()
optional int64 length = 3; |
FileSegment.Builder |
clearName()
optional string name = 1; |
FileSegment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FileSegment.Builder |
clone() |
String |
getContentType()
optional string contentType = 2; |
com.google.protobuf.ByteString |
getContentTypeBytes()
optional string contentType = 2; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 4; |
FileSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLength()
optional int64 length = 3; |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
boolean |
hasContentType()
optional string contentType = 2; |
boolean |
hasData()
optional bytes data = 4; |
boolean |
hasLength()
optional int64 length = 3; |
boolean |
hasName()
optional string name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FileSegment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FileSegment.Builder |
mergeFrom(FileSegment other) |
FileSegment.Builder |
mergeFrom(com.google.protobuf.Message other) |
FileSegment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FileSegment.Builder |
setContentType(String value)
optional string contentType = 2; |
FileSegment.Builder |
setContentTypeBytes(com.google.protobuf.ByteString value)
optional string contentType = 2; |
FileSegment.Builder |
setData(com.google.protobuf.ByteString value)
optional bytes data = 4; |
FileSegment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileSegment.Builder |
setLength(long value)
optional int64 length = 3; |
FileSegment.Builder |
setName(String value)
optional string name = 1; |
FileSegment.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
FileSegment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FileSegment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.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.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FileSegment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FileSegment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FileSegment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileSegment.Builder>public FileSegment.Builder mergeFrom(FileSegment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public FileSegment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileSegment.Builder>IOExceptionpublic boolean hasName()
optional string name = 1;hasName in interface FileSegmentOrBuilderpublic String getName()
optional string name = 1;getName in interface FileSegmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface FileSegmentOrBuilderpublic FileSegment.Builder setName(String value)
optional string name = 1;value - The name to set.public FileSegment.Builder clearName()
optional string name = 1;public FileSegment.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;value - The bytes for name to set.public boolean hasContentType()
optional string contentType = 2;hasContentType in interface FileSegmentOrBuilderpublic String getContentType()
optional string contentType = 2;getContentType in interface FileSegmentOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
optional string contentType = 2;getContentTypeBytes in interface FileSegmentOrBuilderpublic FileSegment.Builder setContentType(String value)
optional string contentType = 2;value - The contentType to set.public FileSegment.Builder clearContentType()
optional string contentType = 2;public FileSegment.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
optional string contentType = 2;value - The bytes for contentType to set.public boolean hasLength()
optional int64 length = 3;hasLength in interface FileSegmentOrBuilderpublic long getLength()
optional int64 length = 3;getLength in interface FileSegmentOrBuilderpublic FileSegment.Builder setLength(long value)
optional int64 length = 3;value - The length to set.public FileSegment.Builder clearLength()
optional int64 length = 3;public boolean hasData()
optional bytes data = 4;hasData in interface FileSegmentOrBuilderpublic com.google.protobuf.ByteString getData()
optional bytes data = 4;getData in interface FileSegmentOrBuilderpublic FileSegment.Builder setData(com.google.protobuf.ByteString value)
optional bytes data = 4;value - The data to set.public FileSegment.Builder clearData()
optional bytes data = 4;public final FileSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>public final FileSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FileSegment.Builder>Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.