public static final class OrcProto.Type.Builder extends com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder> implements OrcProto.TypeOrBuilder
orc.proto.Type
Modifier and Type | Method and Description |
---|---|
OrcProto.Type.Builder |
addAllFieldNames(Iterable<String> values)
repeated string fieldNames = 3; |
OrcProto.Type.Builder |
addAllSubtypes(Iterable<? extends Integer> values)
repeated uint32 subtypes = 2 [packed = true]; |
OrcProto.Type.Builder |
addFieldNames(String value)
repeated string fieldNames = 3; |
OrcProto.Type.Builder |
addFieldNamesBytes(com.google.protobuf.ByteString value)
repeated string fieldNames = 3; |
OrcProto.Type.Builder |
addSubtypes(int value)
repeated uint32 subtypes = 2 [packed = true]; |
OrcProto.Type |
build() |
OrcProto.Type |
buildPartial() |
OrcProto.Type.Builder |
clear() |
OrcProto.Type.Builder |
clearFieldNames()
repeated string fieldNames = 3; |
OrcProto.Type.Builder |
clearKind()
optional .orc.proto.Type.Kind kind = 1; |
OrcProto.Type.Builder |
clearMaximumLength()
optional uint32 maximumLength = 4; |
OrcProto.Type.Builder |
clearPrecision()
optional uint32 precision = 5; |
OrcProto.Type.Builder |
clearScale()
optional uint32 scale = 6; |
OrcProto.Type.Builder |
clearSubtypes()
repeated uint32 subtypes = 2 [packed = true]; |
OrcProto.Type.Builder |
clone() |
OrcProto.Type |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldNames(int index)
repeated string fieldNames = 3; |
com.google.protobuf.ByteString |
getFieldNamesBytes(int index)
repeated string fieldNames = 3; |
int |
getFieldNamesCount()
repeated string fieldNames = 3; |
List<String> |
getFieldNamesList()
repeated string fieldNames = 3; |
OrcProto.Type.Kind |
getKind()
optional .orc.proto.Type.Kind kind = 1; |
int |
getMaximumLength()
optional uint32 maximumLength = 4; |
int |
getPrecision()
optional uint32 precision = 5; |
int |
getScale()
optional uint32 scale = 6; |
int |
getSubtypes(int index)
repeated uint32 subtypes = 2 [packed = true]; |
int |
getSubtypesCount()
repeated uint32 subtypes = 2 [packed = true]; |
List<Integer> |
getSubtypesList()
repeated uint32 subtypes = 2 [packed = true]; |
boolean |
hasKind()
optional .orc.proto.Type.Kind kind = 1; |
boolean |
hasMaximumLength()
optional uint32 maximumLength = 4; |
boolean |
hasPrecision()
optional uint32 precision = 5; |
boolean |
hasScale()
optional uint32 scale = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OrcProto.Type.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OrcProto.Type.Builder |
mergeFrom(com.google.protobuf.Message other) |
OrcProto.Type.Builder |
mergeFrom(OrcProto.Type other) |
OrcProto.Type.Builder |
setFieldNames(int index,
String value)
repeated string fieldNames = 3; |
OrcProto.Type.Builder |
setKind(OrcProto.Type.Kind value)
optional .orc.proto.Type.Kind kind = 1; |
OrcProto.Type.Builder |
setMaximumLength(int value)
optional uint32 maximumLength = 4; |
OrcProto.Type.Builder |
setPrecision(int value)
optional uint32 precision = 5; |
OrcProto.Type.Builder |
setScale(int value)
optional uint32 scale = 6; |
OrcProto.Type.Builder |
setSubtypes(int index,
int value)
repeated uint32 subtypes = 2 [packed = true]; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder>
public OrcProto.Type.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder>
public OrcProto.Type.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder>
public OrcProto.Type getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public OrcProto.Type build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public OrcProto.Type buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public OrcProto.Type.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<OrcProto.Type.Builder>
public OrcProto.Type.Builder mergeFrom(OrcProto.Type other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<OrcProto.Type.Builder>
public OrcProto.Type.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<OrcProto.Type.Builder>
IOException
public boolean hasKind()
optional .orc.proto.Type.Kind kind = 1;
hasKind
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Kind getKind()
optional .orc.proto.Type.Kind kind = 1;
getKind
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setKind(OrcProto.Type.Kind value)
optional .orc.proto.Type.Kind kind = 1;
public OrcProto.Type.Builder clearKind()
optional .orc.proto.Type.Kind kind = 1;
public List<Integer> getSubtypesList()
repeated uint32 subtypes = 2 [packed = true];
getSubtypesList
in interface OrcProto.TypeOrBuilder
public int getSubtypesCount()
repeated uint32 subtypes = 2 [packed = true];
getSubtypesCount
in interface OrcProto.TypeOrBuilder
public int getSubtypes(int index)
repeated uint32 subtypes = 2 [packed = true];
getSubtypes
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setSubtypes(int index, int value)
repeated uint32 subtypes = 2 [packed = true];
public OrcProto.Type.Builder addSubtypes(int value)
repeated uint32 subtypes = 2 [packed = true];
public OrcProto.Type.Builder addAllSubtypes(Iterable<? extends Integer> values)
repeated uint32 subtypes = 2 [packed = true];
public OrcProto.Type.Builder clearSubtypes()
repeated uint32 subtypes = 2 [packed = true];
public List<String> getFieldNamesList()
repeated string fieldNames = 3;
getFieldNamesList
in interface OrcProto.TypeOrBuilder
public int getFieldNamesCount()
repeated string fieldNames = 3;
getFieldNamesCount
in interface OrcProto.TypeOrBuilder
public String getFieldNames(int index)
repeated string fieldNames = 3;
getFieldNames
in interface OrcProto.TypeOrBuilder
public com.google.protobuf.ByteString getFieldNamesBytes(int index)
repeated string fieldNames = 3;
getFieldNamesBytes
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setFieldNames(int index, String value)
repeated string fieldNames = 3;
public OrcProto.Type.Builder addFieldNames(String value)
repeated string fieldNames = 3;
public OrcProto.Type.Builder addAllFieldNames(Iterable<String> values)
repeated string fieldNames = 3;
public OrcProto.Type.Builder clearFieldNames()
repeated string fieldNames = 3;
public OrcProto.Type.Builder addFieldNamesBytes(com.google.protobuf.ByteString value)
repeated string fieldNames = 3;
public boolean hasMaximumLength()
optional uint32 maximumLength = 4;
hasMaximumLength
in interface OrcProto.TypeOrBuilder
public int getMaximumLength()
optional uint32 maximumLength = 4;
getMaximumLength
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setMaximumLength(int value)
optional uint32 maximumLength = 4;
public OrcProto.Type.Builder clearMaximumLength()
optional uint32 maximumLength = 4;
public boolean hasPrecision()
optional uint32 precision = 5;
hasPrecision
in interface OrcProto.TypeOrBuilder
public int getPrecision()
optional uint32 precision = 5;
getPrecision
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setPrecision(int value)
optional uint32 precision = 5;
public OrcProto.Type.Builder clearPrecision()
optional uint32 precision = 5;
public boolean hasScale()
optional uint32 scale = 6;
hasScale
in interface OrcProto.TypeOrBuilder
public int getScale()
optional uint32 scale = 6;
getScale
in interface OrcProto.TypeOrBuilder
public OrcProto.Type.Builder setScale(int value)
optional uint32 scale = 6;
public OrcProto.Type.Builder clearScale()
optional uint32 scale = 6;
Copyright © 2017 The Apache Software Foundation. All rights reserved.