public static final class TopologyAPI.StreamSchema.KeyType extends com.google.protobuf.GeneratedMessage implements TopologyAPI.StreamSchema.KeyTypeOrBuilder
heron.proto.api.StreamSchema.KeyType
Modifier and Type | Class and Description |
---|---|
static class |
TopologyAPI.StreamSchema.KeyType.Builder
Protobuf type
heron.proto.api.StreamSchema.KeyType |
Modifier and Type | Field and Description |
---|---|
static int |
KEY_FIELD_NUMBER |
static |
PARSER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static TopologyAPI.StreamSchema.KeyType |
getDefaultInstance() |
TopologyAPI.StreamSchema.KeyType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
|
getParserForType() |
int |
getSerializedSize() |
TopologyAPI.Type |
getType()
required .heron.proto.api.Type type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasKey()
required string key = 1; |
boolean |
hasType()
required .heron.proto.api.Type type = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyAPI.StreamSchema.KeyType.Builder |
newBuilder() |
static TopologyAPI.StreamSchema.KeyType.Builder |
newBuilder(TopologyAPI.StreamSchema.KeyType prototype) |
TopologyAPI.StreamSchema.KeyType.Builder |
newBuilderForType() |
protected TopologyAPI.StreamSchema.KeyType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyAPI.StreamSchema.KeyType |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyAPI.StreamSchema.KeyType |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.StreamSchema.KeyType |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyAPI.StreamSchema.KeyType.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int KEY_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static TopologyAPI.StreamSchema.KeyType getDefaultInstance()
public TopologyAPI.StreamSchema.KeyType 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 hasKey()
required string key = 1;
hasKey
in interface TopologyAPI.StreamSchema.KeyTypeOrBuilder
public java.lang.String getKey()
required string key = 1;
getKey
in interface TopologyAPI.StreamSchema.KeyTypeOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
required string key = 1;
getKeyBytes
in interface TopologyAPI.StreamSchema.KeyTypeOrBuilder
public boolean hasType()
required .heron.proto.api.Type type = 2;
hasType
in interface TopologyAPI.StreamSchema.KeyTypeOrBuilder
public TopologyAPI.Type getType()
required .heron.proto.api.Type type = 2;
getType
in interface TopologyAPI.StreamSchema.KeyTypeOrBuilder
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.StreamSchema.KeyType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.StreamSchema.KeyType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.StreamSchema.KeyType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.StreamSchema.KeyType parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.StreamSchema.KeyType parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.StreamSchema.KeyType parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.StreamSchema.KeyType parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.StreamSchema.KeyType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.StreamSchema.KeyType.Builder newBuilder()
public TopologyAPI.StreamSchema.KeyType.Builder newBuilderForType()
public static TopologyAPI.StreamSchema.KeyType.Builder newBuilder(TopologyAPI.StreamSchema.KeyType prototype)
public TopologyAPI.StreamSchema.KeyType.Builder toBuilder()
protected TopologyAPI.StreamSchema.KeyType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)