public static final class TopologyAPI.Component extends com.google.protobuf.GeneratedMessage implements TopologyAPI.ComponentOrBuilder
heron.proto.api.Component
Modifier and Type | Class and Description |
---|---|
static class |
TopologyAPI.Component.Builder
Protobuf type
heron.proto.api.Component |
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG_FIELD_NUMBER |
static int |
JAVA_CLASS_NAME_FIELD_NUMBER |
static int |
JAVA_OBJECT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static |
PARSER |
Modifier and Type | Method and Description |
---|---|
TopologyAPI.Config |
getConfig()
required .heron.proto.api.Config config = 3; |
TopologyAPI.ConfigOrBuilder |
getConfigOrBuilder()
required .heron.proto.api.Config config = 3; |
static TopologyAPI.Component |
getDefaultInstance() |
TopologyAPI.Component |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getJavaClassName()
optional string java_class_name = 2; |
com.google.protobuf.ByteString |
getJavaClassNameBytes()
optional string java_class_name = 2; |
com.google.protobuf.ByteString |
getJavaObject()
optional bytes java_object = 4; |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
|
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfig()
required .heron.proto.api.Config config = 3; |
boolean |
hasJavaClassName()
optional string java_class_name = 2; |
boolean |
hasJavaObject()
optional bytes java_object = 4; |
boolean |
hasName()
required string name = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyAPI.Component.Builder |
newBuilder() |
static TopologyAPI.Component.Builder |
newBuilder(TopologyAPI.Component prototype) |
TopologyAPI.Component.Builder |
newBuilderForType() |
protected TopologyAPI.Component.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyAPI.Component |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyAPI.Component |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Component |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Component |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyAPI.Component |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Component |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyAPI.Component |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Component |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyAPI.Component.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int NAME_FIELD_NUMBER
public static final int JAVA_CLASS_NAME_FIELD_NUMBER
public static final int JAVA_OBJECT_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
public static TopologyAPI.Component getDefaultInstance()
public TopologyAPI.Component getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
publicgetParserForType()
public boolean hasName()
required string name = 1;
The name of the component. Like Tail-FlatMap
hasName
in interface TopologyAPI.ComponentOrBuilder
public java.lang.String getName()
required string name = 1;
The name of the component. Like Tail-FlatMap
getName
in interface TopologyAPI.ComponentOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
The name of the component. Like Tail-FlatMap
getNameBytes
in interface TopologyAPI.ComponentOrBuilder
public boolean hasJavaClassName()
optional string java_class_name = 2;
Only one of the below two are set
hasJavaClassName
in interface TopologyAPI.ComponentOrBuilder
public java.lang.String getJavaClassName()
optional string java_class_name = 2;
Only one of the below two are set
getJavaClassName
in interface TopologyAPI.ComponentOrBuilder
public com.google.protobuf.ByteString getJavaClassNameBytes()
optional string java_class_name = 2;
Only one of the below two are set
getJavaClassNameBytes
in interface TopologyAPI.ComponentOrBuilder
public boolean hasJavaObject()
optional bytes java_object = 4;
hasJavaObject
in interface TopologyAPI.ComponentOrBuilder
public com.google.protobuf.ByteString getJavaObject()
optional bytes java_object = 4;
getJavaObject
in interface TopologyAPI.ComponentOrBuilder
public boolean hasConfig()
required .heron.proto.api.Config config = 3;
hasConfig
in interface TopologyAPI.ComponentOrBuilder
public TopologyAPI.Config getConfig()
required .heron.proto.api.Config config = 3;
getConfig
in interface TopologyAPI.ComponentOrBuilder
public TopologyAPI.ConfigOrBuilder getConfigOrBuilder()
required .heron.proto.api.Config config = 3;
getConfigOrBuilder
in interface TopologyAPI.ComponentOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public static TopologyAPI.Component parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Component parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Component parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Component parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Component parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Component parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Component parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Component parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Component.Builder newBuilder()
public TopologyAPI.Component.Builder newBuilderForType()
public static TopologyAPI.Component.Builder newBuilder(TopologyAPI.Component prototype)
public TopologyAPI.Component.Builder toBuilder()
protected TopologyAPI.Component.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)