Class ComponentProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ComponentProtoOrBuilder,Serializable
public final class ComponentProto
extends com.google.protobuf.GeneratedMessageV3
implements ComponentProtoOrBuilder
A configurable component.Protobuf type
olcut.ComponentProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA configurable component.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) map<string, string> properties = 3;booleanstatic ComponentProtostatic final com.google.protobuf.Descriptors.Descriptoroptional string entries = 11;com.google.protobuf.ByteStringoptional string entries = 11;booleanoptional bool exportable = 7;booleanoptional bool importable = 8;longoptional int64 leaseTime = 9;getListProperty(int index) repeated .olcut.PropertyListProto list_property = 4;intrepeated .olcut.PropertyListProto list_property = 4;repeated .olcut.PropertyListProto list_property = 4;getListPropertyOrBuilder(int index) repeated .olcut.PropertyListProto list_property = 4;List<? extends PropertyListProtoOrBuilder>repeated .olcut.PropertyListProto list_property = 4;getMapProperty(int index) repeated .olcut.PropertyMapProto map_property = 5;intrepeated .olcut.PropertyMapProto map_property = 5;repeated .olcut.PropertyMapProto map_property = 5;getMapPropertyOrBuilder(int index) repeated .olcut.PropertyMapProto map_property = 5;List<? extends PropertyMapProtoOrBuilder>repeated .olcut.PropertyMapProto map_property = 5;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;optional string override = 6;com.google.protobuf.ByteStringoptional string override = 6;com.google.protobuf.Parser<ComponentProto>Deprecated.intmap<string, string> properties = 3;map<string, string> properties = 3;getPropertiesOrDefault(String key, String defaultValue) map<string, string> properties = 3;map<string, string> properties = 3;optional string serialized = 10;com.google.protobuf.ByteStringoptional string serialized = 10;intgetType()optional string type = 2;com.google.protobuf.ByteStringoptional string type = 2;booleanoptional string entries = 11;booleanoptional bool exportable = 7;inthashCode()booleanoptional bool importable = 8;booleanoptional int64 leaseTime = 9;booleanoptional string override = 6;booleanoptional string serialized = 10;booleanhasType()optional string type = 2;final booleanstatic ComponentProto.Builderstatic ComponentProto.BuildernewBuilder(ComponentProto prototype) static ComponentProtoparseDelimitedFrom(InputStream input) static ComponentProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComponentProtoparseFrom(byte[] data) static ComponentProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComponentProtoparseFrom(com.google.protobuf.ByteString data) static ComponentProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComponentProtoparseFrom(com.google.protobuf.CodedInputStream input) static ComponentProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComponentProtoparseFrom(InputStream input) static ComponentProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComponentProtoparseFrom(ByteBuffer data) static ComponentProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ComponentProto>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
- See Also:
-
TYPE_FIELD_NUMBER
- See Also:
-
PROPERTIES_FIELD_NUMBER
- See Also:
-
LIST_PROPERTY_FIELD_NUMBER
- See Also:
-
MAP_PROPERTY_FIELD_NUMBER
- See Also:
-
OVERRIDE_FIELD_NUMBER
- See Also:
-
EXPORTABLE_FIELD_NUMBER
- See Also:
-
IMPORTABLE_FIELD_NUMBER
- See Also:
-
LEASETIME_FIELD_NUMBER
- See Also:
-
SERIALIZED_FIELD_NUMBER
- See Also:
-
ENTRIES_FIELD_NUMBER
- See Also:
-
-
Method Details
-
getDescriptor
-
getName
string name = 1;- Specified by:
getNamein interfaceComponentProtoOrBuilder- Returns:
- The name.
-
getNameBytes
string name = 1;- Specified by:
getNameBytesin interfaceComponentProtoOrBuilder- Returns:
- The bytes for name.
-
hasType
optional string type = 2;- Specified by:
hasTypein interfaceComponentProtoOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 2;- Specified by:
getTypein interfaceComponentProtoOrBuilder- Returns:
- The type.
-
getTypeBytes
optional string type = 2;- Specified by:
getTypeBytesin interfaceComponentProtoOrBuilder- Returns:
- The bytes for type.
-
getPropertiesCount
Description copied from interface:ComponentProtoOrBuildermap<string, string> properties = 3;- Specified by:
getPropertiesCountin interfaceComponentProtoOrBuilder
-
containsProperties
map<string, string> properties = 3;- Specified by:
containsPropertiesin interfaceComponentProtoOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceComponentProtoOrBuilder
-
getPropertiesMap
map<string, string> properties = 3;- Specified by:
getPropertiesMapin interfaceComponentProtoOrBuilder
-
getPropertiesOrDefault
map<string, string> properties = 3;- Specified by:
getPropertiesOrDefaultin interfaceComponentProtoOrBuilder
-
getPropertiesOrThrow
map<string, string> properties = 3;- Specified by:
getPropertiesOrThrowin interfaceComponentProtoOrBuilder
-
getListPropertyList
repeated .olcut.PropertyListProto list_property = 4;- Specified by:
getListPropertyListin interfaceComponentProtoOrBuilder
-
getListPropertyOrBuilderList
repeated .olcut.PropertyListProto list_property = 4;- Specified by:
getListPropertyOrBuilderListin interfaceComponentProtoOrBuilder
-
getListPropertyCount
repeated .olcut.PropertyListProto list_property = 4;- Specified by:
getListPropertyCountin interfaceComponentProtoOrBuilder
-
getListProperty
repeated .olcut.PropertyListProto list_property = 4;- Specified by:
getListPropertyin interfaceComponentProtoOrBuilder
-
getListPropertyOrBuilder
repeated .olcut.PropertyListProto list_property = 4;- Specified by:
getListPropertyOrBuilderin interfaceComponentProtoOrBuilder
-
getMapPropertyList
repeated .olcut.PropertyMapProto map_property = 5;- Specified by:
getMapPropertyListin interfaceComponentProtoOrBuilder
-
getMapPropertyOrBuilderList
repeated .olcut.PropertyMapProto map_property = 5;- Specified by:
getMapPropertyOrBuilderListin interfaceComponentProtoOrBuilder
-
getMapPropertyCount
repeated .olcut.PropertyMapProto map_property = 5;- Specified by:
getMapPropertyCountin interfaceComponentProtoOrBuilder
-
getMapProperty
repeated .olcut.PropertyMapProto map_property = 5;- Specified by:
getMapPropertyin interfaceComponentProtoOrBuilder
-
getMapPropertyOrBuilder
repeated .olcut.PropertyMapProto map_property = 5;- Specified by:
getMapPropertyOrBuilderin interfaceComponentProtoOrBuilder
-
hasOverride
optional string override = 6;- Specified by:
hasOverridein interfaceComponentProtoOrBuilder- Returns:
- Whether the override field is set.
-
getOverride
optional string override = 6;- Specified by:
getOverridein interfaceComponentProtoOrBuilder- Returns:
- The override.
-
getOverrideBytes
optional string override = 6;- Specified by:
getOverrideBytesin interfaceComponentProtoOrBuilder- Returns:
- The bytes for override.
-
hasExportable
optional bool exportable = 7;- Specified by:
hasExportablein interfaceComponentProtoOrBuilder- Returns:
- Whether the exportable field is set.
-
getExportable
optional bool exportable = 7;- Specified by:
getExportablein interfaceComponentProtoOrBuilder- Returns:
- The exportable.
-
hasImportable
optional bool importable = 8;- Specified by:
hasImportablein interfaceComponentProtoOrBuilder- Returns:
- Whether the importable field is set.
-
getImportable
optional bool importable = 8;- Specified by:
getImportablein interfaceComponentProtoOrBuilder- Returns:
- The importable.
-
hasLeaseTime
optional int64 leaseTime = 9;- Specified by:
hasLeaseTimein interfaceComponentProtoOrBuilder- Returns:
- Whether the leaseTime field is set.
-
getLeaseTime
optional int64 leaseTime = 9;- Specified by:
getLeaseTimein interfaceComponentProtoOrBuilder- Returns:
- The leaseTime.
-
hasSerialized
optional string serialized = 10;- Specified by:
hasSerializedin interfaceComponentProtoOrBuilder- Returns:
- Whether the serialized field is set.
-
getSerialized
optional string serialized = 10;- Specified by:
getSerializedin interfaceComponentProtoOrBuilder- Returns:
- The serialized.
-
getSerializedBytes
optional string serialized = 10;- Specified by:
getSerializedBytesin interfaceComponentProtoOrBuilder- Returns:
- The bytes for serialized.
-
hasEntries
optional string entries = 11;- Specified by:
hasEntriesin interfaceComponentProtoOrBuilder- Returns:
- Whether the entries field is set.
-
getEntries
optional string entries = 11;- Specified by:
getEntriesin interfaceComponentProtoOrBuilder- Returns:
- The entries.
-
getEntriesBytes
optional string entries = 11;- Specified by:
getEntriesBytesin interfaceComponentProtoOrBuilder- Returns:
- The bytes for entries.
-
isInitialized
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ComponentProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComponentProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComponentProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComponentProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComponentProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComponentProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ComponentProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ComponentProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ComponentProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ComponentProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-