public static final class TestProtos.EchoRequestProto2.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestProtos.EchoRequestProto2.Builder> implements TestProtos.EchoRequestProto2OrBuilder
hadoop.common.EchoRequestProto2
Modifier and Type | Method and Description |
---|---|
TestProtos.EchoRequestProto2.Builder |
addAllMessage(Iterable<String> values)
repeated string message = 1; |
TestProtos.EchoRequestProto2.Builder |
addMessage(String value)
repeated string message = 1; |
TestProtos.EchoRequestProto2.Builder |
addMessageBytes(com.google.protobuf.ByteString value)
repeated string message = 1; |
TestProtos.EchoRequestProto2 |
build() |
TestProtos.EchoRequestProto2 |
buildPartial() |
TestProtos.EchoRequestProto2.Builder |
clear() |
TestProtos.EchoRequestProto2.Builder |
clearMessage()
repeated string message = 1; |
TestProtos.EchoRequestProto2.Builder |
clone() |
TestProtos.EchoRequestProto2 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessage(int index)
repeated string message = 1; |
com.google.protobuf.ByteString |
getMessageBytes(int index)
repeated string message = 1; |
int |
getMessageCount()
repeated string message = 1; |
List<String> |
getMessageList()
repeated string message = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TestProtos.EchoRequestProto2.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.EchoRequestProto2.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestProtos.EchoRequestProto2.Builder |
mergeFrom(TestProtos.EchoRequestProto2 other) |
TestProtos.EchoRequestProto2.Builder |
setMessage(int index,
String value)
repeated string message = 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.EchoRequestProto2.Builder>
public TestProtos.EchoRequestProto2.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.EchoRequestProto2.Builder>
public TestProtos.EchoRequestProto2.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.EchoRequestProto2.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.EchoRequestProto2.Builder>
public TestProtos.EchoRequestProto2 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TestProtos.EchoRequestProto2 build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.EchoRequestProto2 buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TestProtos.EchoRequestProto2.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TestProtos.EchoRequestProto2.Builder>
public TestProtos.EchoRequestProto2.Builder mergeFrom(TestProtos.EchoRequestProto2 other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TestProtos.EchoRequestProto2.Builder>
public TestProtos.EchoRequestProto2.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.EchoRequestProto2.Builder>
IOException
public List<String> getMessageList()
repeated string message = 1;
getMessageList
in interface TestProtos.EchoRequestProto2OrBuilder
public int getMessageCount()
repeated string message = 1;
getMessageCount
in interface TestProtos.EchoRequestProto2OrBuilder
public String getMessage(int index)
repeated string message = 1;
getMessage
in interface TestProtos.EchoRequestProto2OrBuilder
public com.google.protobuf.ByteString getMessageBytes(int index)
repeated string message = 1;
getMessageBytes
in interface TestProtos.EchoRequestProto2OrBuilder
public TestProtos.EchoRequestProto2.Builder setMessage(int index, String value)
repeated string message = 1;
public TestProtos.EchoRequestProto2.Builder addMessage(String value)
repeated string message = 1;
public TestProtos.EchoRequestProto2.Builder addAllMessage(Iterable<String> values)
repeated string message = 1;
public TestProtos.EchoRequestProto2.Builder clearMessage()
repeated string message = 1;
public TestProtos.EchoRequestProto2.Builder addMessageBytes(com.google.protobuf.ByteString value)
repeated string message = 1;
Copyright © 2017 Apache Software Foundation. All Rights Reserved.