org.apache.tez.runtime.api.events
Class EventProtos.RootInputDataInformationEventProto.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>
              extended by org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, EventProtos.RootInputDataInformationEventProtoOrBuilder
Enclosing class:
EventProtos.RootInputDataInformationEventProto

public static final class EventProtos.RootInputDataInformationEventProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>
implements EventProtos.RootInputDataInformationEventProtoOrBuilder

Protobuf type RootInputDataInformationEventProto


Method Summary
 EventProtos.RootInputDataInformationEventProto build()
           
 EventProtos.RootInputDataInformationEventProto buildPartial()
           
 EventProtos.RootInputDataInformationEventProto.Builder clear()
           
 EventProtos.RootInputDataInformationEventProto.Builder clearSourceIndex()
          optional int32 source_index = 1;
 EventProtos.RootInputDataInformationEventProto.Builder clearTargetIndex()
          optional int32 target_index = 2;
 EventProtos.RootInputDataInformationEventProto.Builder clearUserPayload()
          optional bytes user_payload = 3;
 EventProtos.RootInputDataInformationEventProto.Builder clone()
           
 EventProtos.RootInputDataInformationEventProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getSourceIndex()
          optional int32 source_index = 1;
 int getTargetIndex()
          optional int32 target_index = 2;
 com.google.protobuf.ByteString getUserPayload()
          optional bytes user_payload = 3;
 boolean hasSourceIndex()
          optional int32 source_index = 1;
 boolean hasTargetIndex()
          optional int32 target_index = 2;
 boolean hasUserPayload()
          optional bytes user_payload = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(EventProtos.RootInputDataInformationEventProto other)
           
 EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 EventProtos.RootInputDataInformationEventProto.Builder setSourceIndex(int value)
          optional int32 source_index = 1;
 EventProtos.RootInputDataInformationEventProto.Builder setTargetIndex(int value)
          optional int32 target_index = 2;
 EventProtos.RootInputDataInformationEventProto.Builder setUserPayload(com.google.protobuf.ByteString value)
          optional bytes user_payload = 3;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

clear

public EventProtos.RootInputDataInformationEventProto.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

clone

public EventProtos.RootInputDataInformationEventProto.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

getDefaultInstanceForType

public EventProtos.RootInputDataInformationEventProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public EventProtos.RootInputDataInformationEventProto build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public EventProtos.RootInputDataInformationEventProto buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

mergeFrom

public EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(EventProtos.RootInputDataInformationEventProto other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>

mergeFrom

public EventProtos.RootInputDataInformationEventProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventProtos.RootInputDataInformationEventProto.Builder>
Throws:
IOException

hasSourceIndex

public boolean hasSourceIndex()
optional int32 source_index = 1;

Specified by:
hasSourceIndex in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

getSourceIndex

public int getSourceIndex()
optional int32 source_index = 1;

Specified by:
getSourceIndex in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

setSourceIndex

public EventProtos.RootInputDataInformationEventProto.Builder setSourceIndex(int value)
optional int32 source_index = 1;


clearSourceIndex

public EventProtos.RootInputDataInformationEventProto.Builder clearSourceIndex()
optional int32 source_index = 1;


hasTargetIndex

public boolean hasTargetIndex()
optional int32 target_index = 2;

Specified by:
hasTargetIndex in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

getTargetIndex

public int getTargetIndex()
optional int32 target_index = 2;

Specified by:
getTargetIndex in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

setTargetIndex

public EventProtos.RootInputDataInformationEventProto.Builder setTargetIndex(int value)
optional int32 target_index = 2;


clearTargetIndex

public EventProtos.RootInputDataInformationEventProto.Builder clearTargetIndex()
optional int32 target_index = 2;


hasUserPayload

public boolean hasUserPayload()
optional bytes user_payload = 3;

Specified by:
hasUserPayload in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

getUserPayload

public com.google.protobuf.ByteString getUserPayload()
optional bytes user_payload = 3;

Specified by:
getUserPayload in interface EventProtos.RootInputDataInformationEventProtoOrBuilder

setUserPayload

public EventProtos.RootInputDataInformationEventProto.Builder setUserPayload(com.google.protobuf.ByteString value)
optional bytes user_payload = 3;


clearUserPayload

public EventProtos.RootInputDataInformationEventProto.Builder clearUserPayload()
optional bytes user_payload = 3;



Copyright © 2014 Apache Software Foundation. All rights reserved.