|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.ProtoBase<YarnProtos.URLProto>
org.apache.hadoop.yarn.api.records.impl.pb.URLPBImpl
public class URLPBImpl
| Constructor Summary | |
|---|---|
URLPBImpl()
|
|
URLPBImpl(YarnProtos.URLProto proto)
|
|
| Method Summary | |
|---|---|
String |
getFile()
Get the file of the URL. |
String |
getHost()
Get the host of the URL. |
int |
getPort()
Get the port of the URL. |
YarnProtos.URLProto |
getProto()
|
String |
getScheme()
Get the scheme of the URL. |
void |
setFile(String file)
Set the file of the URL. |
void |
setHost(String host)
Set the host of the URL. |
void |
setPort(int port)
Set the port of the URL |
void |
setScheme(String scheme)
Set the scheme of the URL |
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
|---|
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URLPBImpl()
public URLPBImpl(YarnProtos.URLProto proto)
| Method Detail |
|---|
public YarnProtos.URLProto getProto()
getProto in class ProtoBase<YarnProtos.URLProto>public String getFile()
URL
getFile in interface URLpublic void setFile(String file)
URL
setFile in interface URLfile - file of the URLpublic String getScheme()
URL
getScheme in interface URLpublic void setScheme(String scheme)
URL
setScheme in interface URLscheme - scheme of the URLpublic String getHost()
URL
getHost in interface URLpublic void setHost(String host)
URL
setHost in interface URLhost - host of the URLpublic int getPort()
URL
getPort in interface URLpublic void setPort(int port)
URL
setPort in interface URLport - port of the URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||