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

public static final class DAGProtos.VertexStatusProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DAGProtos.VertexStatusProto.Builder>
implements DAGProtos.VertexStatusProtoOrBuilder

Protobuf type VertexStatusProto


Method Summary
 DAGProtos.VertexStatusProto.Builder addAllDiagnostics(Iterable<String> values)
          repeated string diagnostics = 2;
 DAGProtos.VertexStatusProto.Builder addDiagnostics(String value)
          repeated string diagnostics = 2;
 DAGProtos.VertexStatusProto.Builder addDiagnosticsBytes(com.google.protobuf.ByteString value)
          repeated string diagnostics = 2;
 DAGProtos.VertexStatusProto build()
           
 DAGProtos.VertexStatusProto buildPartial()
           
 DAGProtos.VertexStatusProto.Builder clear()
           
 DAGProtos.VertexStatusProto.Builder clearDiagnostics()
          repeated string diagnostics = 2;
 DAGProtos.VertexStatusProto.Builder clearProgress()
          optional .ProgressProto progress = 3;
 DAGProtos.VertexStatusProto.Builder clearState()
          optional .VertexStatusStateProto state = 1;
 DAGProtos.VertexStatusProto.Builder clearVertexCounters()
          optional .TezCountersProto vertexCounters = 4;
 DAGProtos.VertexStatusProto.Builder clone()
           
 DAGProtos.VertexStatusProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getDiagnostics(int index)
          repeated string diagnostics = 2;
 com.google.protobuf.ByteString getDiagnosticsBytes(int index)
          repeated string diagnostics = 2;
 int getDiagnosticsCount()
          repeated string diagnostics = 2;
 List<String> getDiagnosticsList()
          repeated string diagnostics = 2;
 DAGProtos.ProgressProto getProgress()
          optional .ProgressProto progress = 3;
 DAGProtos.ProgressProto.Builder getProgressBuilder()
          optional .ProgressProto progress = 3;
 DAGProtos.ProgressProtoOrBuilder getProgressOrBuilder()
          optional .ProgressProto progress = 3;
 DAGProtos.VertexStatusStateProto getState()
          optional .VertexStatusStateProto state = 1;
 DAGProtos.TezCountersProto getVertexCounters()
          optional .TezCountersProto vertexCounters = 4;
 DAGProtos.TezCountersProto.Builder getVertexCountersBuilder()
          optional .TezCountersProto vertexCounters = 4;
 DAGProtos.TezCountersProtoOrBuilder getVertexCountersOrBuilder()
          optional .TezCountersProto vertexCounters = 4;
 boolean hasProgress()
          optional .ProgressProto progress = 3;
 boolean hasState()
          optional .VertexStatusStateProto state = 1;
 boolean hasVertexCounters()
          optional .TezCountersProto vertexCounters = 4;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 DAGProtos.VertexStatusProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 DAGProtos.VertexStatusProto.Builder mergeFrom(DAGProtos.VertexStatusProto other)
           
 DAGProtos.VertexStatusProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 DAGProtos.VertexStatusProto.Builder mergeProgress(DAGProtos.ProgressProto value)
          optional .ProgressProto progress = 3;
 DAGProtos.VertexStatusProto.Builder mergeVertexCounters(DAGProtos.TezCountersProto value)
          optional .TezCountersProto vertexCounters = 4;
 DAGProtos.VertexStatusProto.Builder setDiagnostics(int index, String value)
          repeated string diagnostics = 2;
 DAGProtos.VertexStatusProto.Builder setProgress(DAGProtos.ProgressProto.Builder builderForValue)
          optional .ProgressProto progress = 3;
 DAGProtos.VertexStatusProto.Builder setProgress(DAGProtos.ProgressProto value)
          optional .ProgressProto progress = 3;
 DAGProtos.VertexStatusProto.Builder setState(DAGProtos.VertexStatusStateProto value)
          optional .VertexStatusStateProto state = 1;
 DAGProtos.VertexStatusProto.Builder setVertexCounters(DAGProtos.TezCountersProto.Builder builderForValue)
          optional .TezCountersProto vertexCounters = 4;
 DAGProtos.VertexStatusProto.Builder setVertexCounters(DAGProtos.TezCountersProto value)
          optional .TezCountersProto vertexCounters = 4;
 
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<DAGProtos.VertexStatusProto.Builder>

clear

public DAGProtos.VertexStatusProto.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<DAGProtos.VertexStatusProto.Builder>

clone

public DAGProtos.VertexStatusProto.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<DAGProtos.VertexStatusProto.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<DAGProtos.VertexStatusProto.Builder>

getDefaultInstanceForType

public DAGProtos.VertexStatusProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public DAGProtos.VertexStatusProto.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<DAGProtos.VertexStatusProto.Builder>

mergeFrom

public DAGProtos.VertexStatusProto.Builder mergeFrom(DAGProtos.VertexStatusProto other)

isInitialized

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

mergeFrom

public DAGProtos.VertexStatusProto.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<DAGProtos.VertexStatusProto.Builder>
Throws:
IOException

hasState

public boolean hasState()
optional .VertexStatusStateProto state = 1;

Specified by:
hasState in interface DAGProtos.VertexStatusProtoOrBuilder

getState

public DAGProtos.VertexStatusStateProto getState()
optional .VertexStatusStateProto state = 1;

Specified by:
getState in interface DAGProtos.VertexStatusProtoOrBuilder

setState

public DAGProtos.VertexStatusProto.Builder setState(DAGProtos.VertexStatusStateProto value)
optional .VertexStatusStateProto state = 1;


clearState

public DAGProtos.VertexStatusProto.Builder clearState()
optional .VertexStatusStateProto state = 1;


getDiagnosticsList

public List<String> getDiagnosticsList()
repeated string diagnostics = 2;

Specified by:
getDiagnosticsList in interface DAGProtos.VertexStatusProtoOrBuilder

getDiagnosticsCount

public int getDiagnosticsCount()
repeated string diagnostics = 2;

Specified by:
getDiagnosticsCount in interface DAGProtos.VertexStatusProtoOrBuilder

getDiagnostics

public String getDiagnostics(int index)
repeated string diagnostics = 2;

Specified by:
getDiagnostics in interface DAGProtos.VertexStatusProtoOrBuilder

getDiagnosticsBytes

public com.google.protobuf.ByteString getDiagnosticsBytes(int index)
repeated string diagnostics = 2;

Specified by:
getDiagnosticsBytes in interface DAGProtos.VertexStatusProtoOrBuilder

setDiagnostics

public DAGProtos.VertexStatusProto.Builder setDiagnostics(int index,
                                                          String value)
repeated string diagnostics = 2;


addDiagnostics

public DAGProtos.VertexStatusProto.Builder addDiagnostics(String value)
repeated string diagnostics = 2;


addAllDiagnostics

public DAGProtos.VertexStatusProto.Builder addAllDiagnostics(Iterable<String> values)
repeated string diagnostics = 2;


clearDiagnostics

public DAGProtos.VertexStatusProto.Builder clearDiagnostics()
repeated string diagnostics = 2;


addDiagnosticsBytes

public DAGProtos.VertexStatusProto.Builder addDiagnosticsBytes(com.google.protobuf.ByteString value)
repeated string diagnostics = 2;


hasProgress

public boolean hasProgress()
optional .ProgressProto progress = 3;

Specified by:
hasProgress in interface DAGProtos.VertexStatusProtoOrBuilder

getProgress

public DAGProtos.ProgressProto getProgress()
optional .ProgressProto progress = 3;

Specified by:
getProgress in interface DAGProtos.VertexStatusProtoOrBuilder

setProgress

public DAGProtos.VertexStatusProto.Builder setProgress(DAGProtos.ProgressProto value)
optional .ProgressProto progress = 3;


setProgress

public DAGProtos.VertexStatusProto.Builder setProgress(DAGProtos.ProgressProto.Builder builderForValue)
optional .ProgressProto progress = 3;


mergeProgress

public DAGProtos.VertexStatusProto.Builder mergeProgress(DAGProtos.ProgressProto value)
optional .ProgressProto progress = 3;


clearProgress

public DAGProtos.VertexStatusProto.Builder clearProgress()
optional .ProgressProto progress = 3;


getProgressBuilder

public DAGProtos.ProgressProto.Builder getProgressBuilder()
optional .ProgressProto progress = 3;


getProgressOrBuilder

public DAGProtos.ProgressProtoOrBuilder getProgressOrBuilder()
optional .ProgressProto progress = 3;

Specified by:
getProgressOrBuilder in interface DAGProtos.VertexStatusProtoOrBuilder

hasVertexCounters

public boolean hasVertexCounters()
optional .TezCountersProto vertexCounters = 4;

Specified by:
hasVertexCounters in interface DAGProtos.VertexStatusProtoOrBuilder

getVertexCounters

public DAGProtos.TezCountersProto getVertexCounters()
optional .TezCountersProto vertexCounters = 4;

Specified by:
getVertexCounters in interface DAGProtos.VertexStatusProtoOrBuilder

setVertexCounters

public DAGProtos.VertexStatusProto.Builder setVertexCounters(DAGProtos.TezCountersProto value)
optional .TezCountersProto vertexCounters = 4;


setVertexCounters

public DAGProtos.VertexStatusProto.Builder setVertexCounters(DAGProtos.TezCountersProto.Builder builderForValue)
optional .TezCountersProto vertexCounters = 4;


mergeVertexCounters

public DAGProtos.VertexStatusProto.Builder mergeVertexCounters(DAGProtos.TezCountersProto value)
optional .TezCountersProto vertexCounters = 4;


clearVertexCounters

public DAGProtos.VertexStatusProto.Builder clearVertexCounters()
optional .TezCountersProto vertexCounters = 4;


getVertexCountersBuilder

public DAGProtos.TezCountersProto.Builder getVertexCountersBuilder()
optional .TezCountersProto vertexCounters = 4;


getVertexCountersOrBuilder

public DAGProtos.TezCountersProtoOrBuilder getVertexCountersOrBuilder()
optional .TezCountersProto vertexCounters = 4;

Specified by:
getVertexCountersOrBuilder in interface DAGProtos.VertexStatusProtoOrBuilder


Copyright © 2014 Apache Software Foundation. All rights reserved.