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 |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
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 com.google.protobuf.Parser<TopologyAPI.Component> |
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; |
com.google.protobuf.Parser<TopologyAPI.Component> |
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) |
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) |
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) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<TopologyAPI.Component> PARSER
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()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<TopologyAPI.Component> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
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) 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) throws java.io.IOException
java.io.IOException
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()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyAPI.Component.Builder newBuilder(TopologyAPI.Component prototype)
public TopologyAPI.Component.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyAPI.Component.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage