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