public static final class TestProtos.AddRequestProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestProtos.AddRequestProto.Builder> implements TestProtos.AddRequestProtoOrBuilder
hadoop.common.AddRequestProto
Modifier and Type | Method and Description |
---|---|
TestProtos.AddRequestProto |
build() |
TestProtos.AddRequestProto |
buildPartial() |
TestProtos.AddRequestProto.Builder |
clear() |
TestProtos.AddRequestProto.Builder |
clearParam1()
required int32 param1 = 1; |
TestProtos.AddRequestProto.Builder |
clearParam2()
required int32 param2 = 2; |
TestProtos.AddRequestProto.Builder |
clone() |
TestProtos.AddRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getParam1()
required int32 param1 = 1; |
int |
getParam2()
required int32 param2 = 2; |
boolean |
hasParam1()
required int32 param1 = 1; |
boolean |
hasParam2()
required int32 param2 = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TestProtos.AddRequestProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.AddRequestProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestProtos.AddRequestProto.Builder |
mergeFrom(TestProtos.AddRequestProto other) |
TestProtos.AddRequestProto.Builder |
setParam1(int value)
required int32 param1 = 1; |
TestProtos.AddRequestProto.Builder |
setParam2(int value)
required int32 param2 = 2; |
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.AddRequestProto.Builder>
public TestProtos.AddRequestProto.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.AddRequestProto.Builder>
public TestProtos.AddRequestProto.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.AddRequestProto.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.AddRequestProto.Builder>
public TestProtos.AddRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TestProtos.AddRequestProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.AddRequestProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.AddRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.AddRequestProto.Builder>
public TestProtos.AddRequestProto.Builder mergeFrom(TestProtos.AddRequestProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.AddRequestProto.Builder>
public TestProtos.AddRequestProto.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.AddRequestProto.Builder>
IOException
public boolean hasParam1()
required int32 param1 = 1;
hasParam1
in interface TestProtos.AddRequestProtoOrBuilder
public int getParam1()
required int32 param1 = 1;
getParam1
in interface TestProtos.AddRequestProtoOrBuilder
public TestProtos.AddRequestProto.Builder setParam1(int value)
required int32 param1 = 1;
public TestProtos.AddRequestProto.Builder clearParam1()
required int32 param1 = 1;
public boolean hasParam2()
required int32 param2 = 2;
hasParam2
in interface TestProtos.AddRequestProtoOrBuilder
public int getParam2()
required int32 param2 = 2;
getParam2
in interface TestProtos.AddRequestProtoOrBuilder
public TestProtos.AddRequestProto.Builder setParam2(int value)
required int32 param2 = 2;
public TestProtos.AddRequestProto.Builder clearParam2()
required int32 param2 = 2;
Copyright © 2017 Apache Software Foundation. All Rights Reserved.