public static final class TestProtos.AddRequestProto2.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestProtos.AddRequestProto2.Builder> implements TestProtos.AddRequestProto2OrBuilder
hadoop.common.AddRequestProto2
Modifier and Type | Method and Description |
---|---|
TestProtos.AddRequestProto2.Builder |
addAllParams(Iterable<? extends Integer> values)
repeated int32 params = 1; |
TestProtos.AddRequestProto2.Builder |
addParams(int value)
repeated int32 params = 1; |
TestProtos.AddRequestProto2 |
build() |
TestProtos.AddRequestProto2 |
buildPartial() |
TestProtos.AddRequestProto2.Builder |
clear() |
TestProtos.AddRequestProto2.Builder |
clearParams()
repeated int32 params = 1; |
TestProtos.AddRequestProto2.Builder |
clone() |
TestProtos.AddRequestProto2 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getParams(int index)
repeated int32 params = 1; |
int |
getParamsCount()
repeated int32 params = 1; |
List<Integer> |
getParamsList()
repeated int32 params = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TestProtos.AddRequestProto2.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.AddRequestProto2.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestProtos.AddRequestProto2.Builder |
mergeFrom(TestProtos.AddRequestProto2 other) |
TestProtos.AddRequestProto2.Builder |
setParams(int index,
int value)
repeated int32 params = 1; |
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<TestProtos.AddRequestProto2.Builder>
public TestProtos.AddRequestProto2.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<TestProtos.AddRequestProto2.Builder>
public TestProtos.AddRequestProto2.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<TestProtos.AddRequestProto2.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<TestProtos.AddRequestProto2.Builder>
public TestProtos.AddRequestProto2 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TestProtos.AddRequestProto2 build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.AddRequestProto2 buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.AddRequestProto2.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.AddRequestProto2.Builder>
public TestProtos.AddRequestProto2.Builder mergeFrom(TestProtos.AddRequestProto2 other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.AddRequestProto2.Builder>
public TestProtos.AddRequestProto2.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<TestProtos.AddRequestProto2.Builder>
IOException
public List<Integer> getParamsList()
repeated int32 params = 1;
getParamsList
in interface TestProtos.AddRequestProto2OrBuilder
public int getParamsCount()
repeated int32 params = 1;
getParamsCount
in interface TestProtos.AddRequestProto2OrBuilder
public int getParams(int index)
repeated int32 params = 1;
getParams
in interface TestProtos.AddRequestProto2OrBuilder
public TestProtos.AddRequestProto2.Builder setParams(int index, int value)
repeated int32 params = 1;
public TestProtos.AddRequestProto2.Builder addParams(int value)
repeated int32 params = 1;
public TestProtos.AddRequestProto2.Builder addAllParams(Iterable<? extends Integer> values)
repeated int32 params = 1;
public TestProtos.AddRequestProto2.Builder clearParams()
repeated int32 params = 1;
Copyright © 2017 Apache Software Foundation. All Rights Reserved.