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

public static final class DAGProtos.PlanLocalResource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DAGProtos.PlanLocalResource.Builder>
implements DAGProtos.PlanLocalResourceOrBuilder

Protobuf type PlanLocalResource


Method Summary
 DAGProtos.PlanLocalResource build()
           
 DAGProtos.PlanLocalResource buildPartial()
           
 DAGProtos.PlanLocalResource.Builder clear()
           
 DAGProtos.PlanLocalResource.Builder clearName()
          required string name = 1;
 DAGProtos.PlanLocalResource.Builder clearPattern()
          optional string pattern = 7;
 DAGProtos.PlanLocalResource.Builder clearSize()
          required int64 size = 3;
 DAGProtos.PlanLocalResource.Builder clearTimeStamp()
          required int64 timeStamp = 4;
 DAGProtos.PlanLocalResource.Builder clearType()
          required .PlanLocalResourceType type = 5;
 DAGProtos.PlanLocalResource.Builder clearUri()
          required string uri = 2;
 DAGProtos.PlanLocalResource.Builder clearVisibility()
          required .PlanLocalResourceVisibility visibility = 6;
 DAGProtos.PlanLocalResource.Builder clone()
           
 DAGProtos.PlanLocalResource getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getName()
          required string name = 1;
 com.google.protobuf.ByteString getNameBytes()
          required string name = 1;
 String getPattern()
          optional string pattern = 7;
 com.google.protobuf.ByteString getPatternBytes()
          optional string pattern = 7;
 long getSize()
          required int64 size = 3;
 long getTimeStamp()
          required int64 timeStamp = 4;
 DAGProtos.PlanLocalResourceType getType()
          required .PlanLocalResourceType type = 5;
 String getUri()
          required string uri = 2;
 com.google.protobuf.ByteString getUriBytes()
          required string uri = 2;
 DAGProtos.PlanLocalResourceVisibility getVisibility()
          required .PlanLocalResourceVisibility visibility = 6;
 boolean hasName()
          required string name = 1;
 boolean hasPattern()
          optional string pattern = 7;
 boolean hasSize()
          required int64 size = 3;
 boolean hasTimeStamp()
          required int64 timeStamp = 4;
 boolean hasType()
          required .PlanLocalResourceType type = 5;
 boolean hasUri()
          required string uri = 2;
 boolean hasVisibility()
          required .PlanLocalResourceVisibility visibility = 6;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 DAGProtos.PlanLocalResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 DAGProtos.PlanLocalResource.Builder mergeFrom(DAGProtos.PlanLocalResource other)
           
 DAGProtos.PlanLocalResource.Builder mergeFrom(com.google.protobuf.Message other)
           
 DAGProtos.PlanLocalResource.Builder setName(String value)
          required string name = 1;
 DAGProtos.PlanLocalResource.Builder setNameBytes(com.google.protobuf.ByteString value)
          required string name = 1;
 DAGProtos.PlanLocalResource.Builder setPattern(String value)
          optional string pattern = 7;
 DAGProtos.PlanLocalResource.Builder setPatternBytes(com.google.protobuf.ByteString value)
          optional string pattern = 7;
 DAGProtos.PlanLocalResource.Builder setSize(long value)
          required int64 size = 3;
 DAGProtos.PlanLocalResource.Builder setTimeStamp(long value)
          required int64 timeStamp = 4;
 DAGProtos.PlanLocalResource.Builder setType(DAGProtos.PlanLocalResourceType value)
          required .PlanLocalResourceType type = 5;
 DAGProtos.PlanLocalResource.Builder setUri(String value)
          required string uri = 2;
 DAGProtos.PlanLocalResource.Builder setUriBytes(com.google.protobuf.ByteString value)
          required string uri = 2;
 DAGProtos.PlanLocalResource.Builder setVisibility(DAGProtos.PlanLocalResourceVisibility value)
          required .PlanLocalResourceVisibility visibility = 6;
 
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.PlanLocalResource.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

public DAGProtos.PlanLocalResource.Builder mergeFrom(DAGProtos.PlanLocalResource 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.PlanLocalResource.Builder>

mergeFrom

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

hasName

public boolean hasName()
required string name = 1;

Specified by:
hasName in interface DAGProtos.PlanLocalResourceOrBuilder

getName

public String getName()
required string name = 1;

Specified by:
getName in interface DAGProtos.PlanLocalResourceOrBuilder

getNameBytes

public com.google.protobuf.ByteString getNameBytes()
required string name = 1;

Specified by:
getNameBytes in interface DAGProtos.PlanLocalResourceOrBuilder

setName

public DAGProtos.PlanLocalResource.Builder setName(String value)
required string name = 1;


clearName

public DAGProtos.PlanLocalResource.Builder clearName()
required string name = 1;


setNameBytes

public DAGProtos.PlanLocalResource.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;


hasUri

public boolean hasUri()
required string uri = 2;

Specified by:
hasUri in interface DAGProtos.PlanLocalResourceOrBuilder

getUri

public String getUri()
required string uri = 2;

Specified by:
getUri in interface DAGProtos.PlanLocalResourceOrBuilder

getUriBytes

public com.google.protobuf.ByteString getUriBytes()
required string uri = 2;

Specified by:
getUriBytes in interface DAGProtos.PlanLocalResourceOrBuilder

setUri

public DAGProtos.PlanLocalResource.Builder setUri(String value)
required string uri = 2;


clearUri

public DAGProtos.PlanLocalResource.Builder clearUri()
required string uri = 2;


setUriBytes

public DAGProtos.PlanLocalResource.Builder setUriBytes(com.google.protobuf.ByteString value)
required string uri = 2;


hasSize

public boolean hasSize()
required int64 size = 3;

Specified by:
hasSize in interface DAGProtos.PlanLocalResourceOrBuilder

getSize

public long getSize()
required int64 size = 3;

Specified by:
getSize in interface DAGProtos.PlanLocalResourceOrBuilder

setSize

public DAGProtos.PlanLocalResource.Builder setSize(long value)
required int64 size = 3;


clearSize

public DAGProtos.PlanLocalResource.Builder clearSize()
required int64 size = 3;


hasTimeStamp

public boolean hasTimeStamp()
required int64 timeStamp = 4;

Specified by:
hasTimeStamp in interface DAGProtos.PlanLocalResourceOrBuilder

getTimeStamp

public long getTimeStamp()
required int64 timeStamp = 4;

Specified by:
getTimeStamp in interface DAGProtos.PlanLocalResourceOrBuilder

setTimeStamp

public DAGProtos.PlanLocalResource.Builder setTimeStamp(long value)
required int64 timeStamp = 4;


clearTimeStamp

public DAGProtos.PlanLocalResource.Builder clearTimeStamp()
required int64 timeStamp = 4;


hasType

public boolean hasType()
required .PlanLocalResourceType type = 5;

Specified by:
hasType in interface DAGProtos.PlanLocalResourceOrBuilder

getType

public DAGProtos.PlanLocalResourceType getType()
required .PlanLocalResourceType type = 5;

Specified by:
getType in interface DAGProtos.PlanLocalResourceOrBuilder

setType

public DAGProtos.PlanLocalResource.Builder setType(DAGProtos.PlanLocalResourceType value)
required .PlanLocalResourceType type = 5;


clearType

public DAGProtos.PlanLocalResource.Builder clearType()
required .PlanLocalResourceType type = 5;


hasVisibility

public boolean hasVisibility()
required .PlanLocalResourceVisibility visibility = 6;

Specified by:
hasVisibility in interface DAGProtos.PlanLocalResourceOrBuilder

getVisibility

public DAGProtos.PlanLocalResourceVisibility getVisibility()
required .PlanLocalResourceVisibility visibility = 6;

Specified by:
getVisibility in interface DAGProtos.PlanLocalResourceOrBuilder

setVisibility

public DAGProtos.PlanLocalResource.Builder setVisibility(DAGProtos.PlanLocalResourceVisibility value)
required .PlanLocalResourceVisibility visibility = 6;


clearVisibility

public DAGProtos.PlanLocalResource.Builder clearVisibility()
required .PlanLocalResourceVisibility visibility = 6;


hasPattern

public boolean hasPattern()
optional string pattern = 7;
 only used if type=PATTERN
 

Specified by:
hasPattern in interface DAGProtos.PlanLocalResourceOrBuilder

getPattern

public String getPattern()
optional string pattern = 7;
 only used if type=PATTERN
 

Specified by:
getPattern in interface DAGProtos.PlanLocalResourceOrBuilder

getPatternBytes

public com.google.protobuf.ByteString getPatternBytes()
optional string pattern = 7;
 only used if type=PATTERN
 

Specified by:
getPatternBytes in interface DAGProtos.PlanLocalResourceOrBuilder

setPattern

public DAGProtos.PlanLocalResource.Builder setPattern(String value)
optional string pattern = 7;
 only used if type=PATTERN
 


clearPattern

public DAGProtos.PlanLocalResource.Builder clearPattern()
optional string pattern = 7;
 only used if type=PATTERN
 


setPatternBytes

public DAGProtos.PlanLocalResource.Builder setPatternBytes(com.google.protobuf.ByteString value)
optional string pattern = 7;
 only used if type=PATTERN
 



Copyright © 2014 Apache Software Foundation. All rights reserved.