public static final class FieldSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder> implements FieldSchemaOrBuilder
alluxio.grpc.table.FieldSchema
Modifier and Type | Method and Description |
---|---|
FieldSchema.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldSchema |
build() |
FieldSchema |
buildPartial() |
FieldSchema.Builder |
clear() |
FieldSchema.Builder |
clearComment()
optional string comment = 4; |
FieldSchema.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FieldSchema.Builder |
clearId()
optional uint32 id = 1; |
FieldSchema.Builder |
clearName()
optional string name = 2; |
FieldSchema.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FieldSchema.Builder |
clearType()
optional string type = 3; |
FieldSchema.Builder |
clone() |
String |
getComment()
optional string comment = 4; |
com.google.protobuf.ByteString |
getCommentBytes()
optional string comment = 4; |
FieldSchema |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
optional uint32 id = 1; |
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
String |
getType()
optional string type = 3; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 3; |
boolean |
hasComment()
optional string comment = 4; |
boolean |
hasId()
optional uint32 id = 1; |
boolean |
hasName()
optional string name = 2; |
boolean |
hasType()
optional string type = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FieldSchema.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FieldSchema.Builder |
mergeFrom(FieldSchema other) |
FieldSchema.Builder |
mergeFrom(com.google.protobuf.Message other) |
FieldSchema.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FieldSchema.Builder |
setComment(String value)
optional string comment = 4; |
FieldSchema.Builder |
setCommentBytes(com.google.protobuf.ByteString value)
optional string comment = 4; |
FieldSchema.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldSchema.Builder |
setId(int value)
optional uint32 id = 1; |
FieldSchema.Builder |
setName(String value)
optional string name = 2; |
FieldSchema.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2; |
FieldSchema.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FieldSchema.Builder |
setType(String value)
optional string type = 3; |
FieldSchema.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
optional string type = 3; |
FieldSchema.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.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.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FieldSchema build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FieldSchema buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FieldSchema.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FieldSchema.Builder>
public FieldSchema.Builder mergeFrom(FieldSchema other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public FieldSchema.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<FieldSchema.Builder>
IOException
public boolean hasId()
optional uint32 id = 1;
hasId
in interface FieldSchemaOrBuilder
public int getId()
optional uint32 id = 1;
getId
in interface FieldSchemaOrBuilder
public FieldSchema.Builder setId(int value)
optional uint32 id = 1;
value
- The id to set.public FieldSchema.Builder clearId()
optional uint32 id = 1;
public boolean hasName()
optional string name = 2;
hasName
in interface FieldSchemaOrBuilder
public String getName()
optional string name = 2;
getName
in interface FieldSchemaOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 2;
getNameBytes
in interface FieldSchemaOrBuilder
public FieldSchema.Builder setName(String value)
optional string name = 2;
value
- The name to set.public FieldSchema.Builder clearName()
optional string name = 2;
public FieldSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2;
value
- The bytes for name to set.public boolean hasType()
optional string type = 3;
hasType
in interface FieldSchemaOrBuilder
public String getType()
optional string type = 3;
getType
in interface FieldSchemaOrBuilder
public com.google.protobuf.ByteString getTypeBytes()
optional string type = 3;
getTypeBytes
in interface FieldSchemaOrBuilder
public FieldSchema.Builder setType(String value)
optional string type = 3;
value
- The type to set.public FieldSchema.Builder clearType()
optional string type = 3;
public FieldSchema.Builder setTypeBytes(com.google.protobuf.ByteString value)
optional string type = 3;
value
- The bytes for type to set.public boolean hasComment()
optional string comment = 4;
hasComment
in interface FieldSchemaOrBuilder
public String getComment()
optional string comment = 4;
getComment
in interface FieldSchemaOrBuilder
public com.google.protobuf.ByteString getCommentBytes()
optional string comment = 4;
getCommentBytes
in interface FieldSchemaOrBuilder
public FieldSchema.Builder setComment(String value)
optional string comment = 4;
value
- The comment to set.public FieldSchema.Builder clearComment()
optional string comment = 4;
public FieldSchema.Builder setCommentBytes(com.google.protobuf.ByteString value)
optional string comment = 4;
value
- The bytes for comment to set.public final FieldSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
public final FieldSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldSchema.Builder>
Copyright © 2023. All Rights Reserved.