org.apache.tez.dag.recovery.records
Class RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.Builder>
              extended by org.apache.tez.dag.recovery.records.RecoveryProtos.SummaryEventProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RecoveryProtos.SummaryEventProtoOrBuilder
Enclosing class:
RecoveryProtos.SummaryEventProto

public static final class RecoveryProtos.SummaryEventProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RecoveryProtos.SummaryEventProto.Builder>
implements RecoveryProtos.SummaryEventProtoOrBuilder

Protobuf type SummaryEventProto


Method Summary
 RecoveryProtos.SummaryEventProto build()
           
 RecoveryProtos.SummaryEventProto buildPartial()
           
 RecoveryProtos.SummaryEventProto.Builder clear()
           
 RecoveryProtos.SummaryEventProto.Builder clearDagId()
          optional string dag_id = 1;
 RecoveryProtos.SummaryEventProto.Builder clearEventPayload()
          optional bytes event_payload = 4;
 RecoveryProtos.SummaryEventProto.Builder clearEventType()
          optional int32 event_type = 3;
 RecoveryProtos.SummaryEventProto.Builder clearTimestamp()
          optional int64 timestamp = 2;
 RecoveryProtos.SummaryEventProto.Builder clone()
           
 String getDagId()
          optional string dag_id = 1;
 com.google.protobuf.ByteString getDagIdBytes()
          optional string dag_id = 1;
 RecoveryProtos.SummaryEventProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getEventPayload()
          optional bytes event_payload = 4;
 int getEventType()
          optional int32 event_type = 3;
 long getTimestamp()
          optional int64 timestamp = 2;
 boolean hasDagId()
          optional string dag_id = 1;
 boolean hasEventPayload()
          optional bytes event_payload = 4;
 boolean hasEventType()
          optional int32 event_type = 3;
 boolean hasTimestamp()
          optional int64 timestamp = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 RecoveryProtos.SummaryEventProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 RecoveryProtos.SummaryEventProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 RecoveryProtos.SummaryEventProto.Builder mergeFrom(RecoveryProtos.SummaryEventProto other)
           
 RecoveryProtos.SummaryEventProto.Builder setDagId(String value)
          optional string dag_id = 1;
 RecoveryProtos.SummaryEventProto.Builder setDagIdBytes(com.google.protobuf.ByteString value)
          optional string dag_id = 1;
 RecoveryProtos.SummaryEventProto.Builder setEventPayload(com.google.protobuf.ByteString value)
          optional bytes event_payload = 4;
 RecoveryProtos.SummaryEventProto.Builder setEventType(int value)
          optional int32 event_type = 3;
 RecoveryProtos.SummaryEventProto.Builder setTimestamp(long value)
          optional int64 timestamp = 2;
 
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<RecoveryProtos.SummaryEventProto.Builder>

clear

public RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.Builder>

clone

public RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.Builder>

getDefaultInstanceForType

public RecoveryProtos.SummaryEventProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.Builder>

mergeFrom

public RecoveryProtos.SummaryEventProto.Builder mergeFrom(RecoveryProtos.SummaryEventProto other)

isInitialized

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

mergeFrom

public RecoveryProtos.SummaryEventProto.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<RecoveryProtos.SummaryEventProto.Builder>
Throws:
IOException

hasDagId

public boolean hasDagId()
optional string dag_id = 1;

Specified by:
hasDagId in interface RecoveryProtos.SummaryEventProtoOrBuilder

getDagId

public String getDagId()
optional string dag_id = 1;

Specified by:
getDagId in interface RecoveryProtos.SummaryEventProtoOrBuilder

getDagIdBytes

public com.google.protobuf.ByteString getDagIdBytes()
optional string dag_id = 1;

Specified by:
getDagIdBytes in interface RecoveryProtos.SummaryEventProtoOrBuilder

setDagId

public RecoveryProtos.SummaryEventProto.Builder setDagId(String value)
optional string dag_id = 1;


clearDagId

public RecoveryProtos.SummaryEventProto.Builder clearDagId()
optional string dag_id = 1;


setDagIdBytes

public RecoveryProtos.SummaryEventProto.Builder setDagIdBytes(com.google.protobuf.ByteString value)
optional string dag_id = 1;


hasTimestamp

public boolean hasTimestamp()
optional int64 timestamp = 2;

Specified by:
hasTimestamp in interface RecoveryProtos.SummaryEventProtoOrBuilder

getTimestamp

public long getTimestamp()
optional int64 timestamp = 2;

Specified by:
getTimestamp in interface RecoveryProtos.SummaryEventProtoOrBuilder

setTimestamp

public RecoveryProtos.SummaryEventProto.Builder setTimestamp(long value)
optional int64 timestamp = 2;


clearTimestamp

public RecoveryProtos.SummaryEventProto.Builder clearTimestamp()
optional int64 timestamp = 2;


hasEventType

public boolean hasEventType()
optional int32 event_type = 3;

Specified by:
hasEventType in interface RecoveryProtos.SummaryEventProtoOrBuilder

getEventType

public int getEventType()
optional int32 event_type = 3;

Specified by:
getEventType in interface RecoveryProtos.SummaryEventProtoOrBuilder

setEventType

public RecoveryProtos.SummaryEventProto.Builder setEventType(int value)
optional int32 event_type = 3;


clearEventType

public RecoveryProtos.SummaryEventProto.Builder clearEventType()
optional int32 event_type = 3;


hasEventPayload

public boolean hasEventPayload()
optional bytes event_payload = 4;

Specified by:
hasEventPayload in interface RecoveryProtos.SummaryEventProtoOrBuilder

getEventPayload

public com.google.protobuf.ByteString getEventPayload()
optional bytes event_payload = 4;

Specified by:
getEventPayload in interface RecoveryProtos.SummaryEventProtoOrBuilder

setEventPayload

public RecoveryProtos.SummaryEventProto.Builder setEventPayload(com.google.protobuf.ByteString value)
optional bytes event_payload = 4;


clearEventPayload

public RecoveryProtos.SummaryEventProto.Builder clearEventPayload()
optional bytes event_payload = 4;



Copyright © 2014 Apache Software Foundation. All rights reserved.