public final class ComponentProto extends com.google.protobuf.GeneratedMessageV3 implements ComponentProtoOrBuilder
A configurable component.Protobuf type
olcut.ComponentProto| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentProto.Builder
A configurable component.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRIES_FIELD_NUMBER |
static int |
EXPORTABLE_FIELD_NUMBER |
static int |
IMPORTABLE_FIELD_NUMBER |
static int |
LEASETIME_FIELD_NUMBER |
static int |
LIST_PROPERTY_FIELD_NUMBER |
static int |
MAP_PROPERTY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OVERRIDE_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
SERIALIZED_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperties(String key)
map<string, string> properties = 3; |
boolean |
equals(Object obj) |
static ComponentProto |
getDefaultInstance() |
ComponentProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEntries()
optional string entries = 11; |
com.google.protobuf.ByteString |
getEntriesBytes()
optional string entries = 11; |
boolean |
getExportable()
optional bool exportable = 7; |
boolean |
getImportable()
optional bool importable = 8; |
long |
getLeaseTime()
optional int64 leaseTime = 9; |
PropertyListProto |
getListProperty(int index)
repeated .olcut.PropertyListProto list_property = 4; |
int |
getListPropertyCount()
repeated .olcut.PropertyListProto list_property = 4; |
List<PropertyListProto> |
getListPropertyList()
repeated .olcut.PropertyListProto list_property = 4; |
PropertyListProtoOrBuilder |
getListPropertyOrBuilder(int index)
repeated .olcut.PropertyListProto list_property = 4; |
List<? extends PropertyListProtoOrBuilder> |
getListPropertyOrBuilderList()
repeated .olcut.PropertyListProto list_property = 4; |
PropertyMapProto |
getMapProperty(int index)
repeated .olcut.PropertyMapProto map_property = 5; |
int |
getMapPropertyCount()
repeated .olcut.PropertyMapProto map_property = 5; |
List<PropertyMapProto> |
getMapPropertyList()
repeated .olcut.PropertyMapProto map_property = 5; |
PropertyMapProtoOrBuilder |
getMapPropertyOrBuilder(int index)
repeated .olcut.PropertyMapProto map_property = 5; |
List<? extends PropertyMapProtoOrBuilder> |
getMapPropertyOrBuilderList()
repeated .olcut.PropertyMapProto map_property = 5; |
String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
String |
getOverride()
optional string override = 6; |
com.google.protobuf.ByteString |
getOverrideBytes()
optional string override = 6; |
com.google.protobuf.Parser<ComponentProto> |
getParserForType() |
Map<String,String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
map<string, string> properties = 3; |
Map<String,String> |
getPropertiesMap()
map<string, string> properties = 3; |
String |
getPropertiesOrDefault(String key,
String defaultValue)
map<string, string> properties = 3; |
String |
getPropertiesOrThrow(String key)
map<string, string> properties = 3; |
String |
getSerialized()
optional string serialized = 10; |
com.google.protobuf.ByteString |
getSerializedBytes()
optional string serialized = 10; |
int |
getSerializedSize() |
String |
getType()
optional string type = 2; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEntries()
optional string entries = 11; |
boolean |
hasExportable()
optional bool exportable = 7; |
int |
hashCode() |
boolean |
hasImportable()
optional bool importable = 8; |
boolean |
hasLeaseTime()
optional int64 leaseTime = 9; |
boolean |
hasOverride()
optional string override = 6; |
boolean |
hasSerialized()
optional string serialized = 10; |
boolean |
hasType()
optional string type = 2; |
boolean |
isInitialized() |
static ComponentProto.Builder |
newBuilder() |
static ComponentProto.Builder |
newBuilder(ComponentProto prototype) |
ComponentProto.Builder |
newBuilderForType() |
static ComponentProto |
parseDelimitedFrom(InputStream input) |
static ComponentProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComponentProto |
parseFrom(byte[] data) |
static ComponentProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComponentProto |
parseFrom(ByteBuffer data) |
static ComponentProto |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComponentProto |
parseFrom(com.google.protobuf.ByteString data) |
static ComponentProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComponentProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ComponentProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComponentProto |
parseFrom(InputStream input) |
static ComponentProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ComponentProto> |
parser() |
ComponentProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public static final int LIST_PROPERTY_FIELD_NUMBER
public static final int MAP_PROPERTY_FIELD_NUMBER
public static final int OVERRIDE_FIELD_NUMBER
public static final int EXPORTABLE_FIELD_NUMBER
public static final int IMPORTABLE_FIELD_NUMBER
public static final int LEASETIME_FIELD_NUMBER
public static final int SERIALIZED_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public String getName()
string name = 1;getName in interface ComponentProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes in interface ComponentProtoOrBuilderpublic boolean hasType()
optional string type = 2;hasType in interface ComponentProtoOrBuilderpublic String getType()
optional string type = 2;getType in interface ComponentProtoOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
optional string type = 2;getTypeBytes in interface ComponentProtoOrBuilderpublic int getPropertiesCount()
ComponentProtoOrBuildermap<string, string> properties = 3;getPropertiesCount in interface ComponentProtoOrBuilderpublic boolean containsProperties(String key)
map<string, string> properties = 3;containsProperties in interface ComponentProtoOrBuilder@Deprecated public Map<String,String> getProperties()
getPropertiesMap() instead.getProperties in interface ComponentProtoOrBuilderpublic Map<String,String> getPropertiesMap()
map<string, string> properties = 3;getPropertiesMap in interface ComponentProtoOrBuilderpublic String getPropertiesOrDefault(String key, String defaultValue)
map<string, string> properties = 3;getPropertiesOrDefault in interface ComponentProtoOrBuilderpublic String getPropertiesOrThrow(String key)
map<string, string> properties = 3;getPropertiesOrThrow in interface ComponentProtoOrBuilderpublic List<PropertyListProto> getListPropertyList()
repeated .olcut.PropertyListProto list_property = 4;getListPropertyList in interface ComponentProtoOrBuilderpublic List<? extends PropertyListProtoOrBuilder> getListPropertyOrBuilderList()
repeated .olcut.PropertyListProto list_property = 4;getListPropertyOrBuilderList in interface ComponentProtoOrBuilderpublic int getListPropertyCount()
repeated .olcut.PropertyListProto list_property = 4;getListPropertyCount in interface ComponentProtoOrBuilderpublic PropertyListProto getListProperty(int index)
repeated .olcut.PropertyListProto list_property = 4;getListProperty in interface ComponentProtoOrBuilderpublic PropertyListProtoOrBuilder getListPropertyOrBuilder(int index)
repeated .olcut.PropertyListProto list_property = 4;getListPropertyOrBuilder in interface ComponentProtoOrBuilderpublic List<PropertyMapProto> getMapPropertyList()
repeated .olcut.PropertyMapProto map_property = 5;getMapPropertyList in interface ComponentProtoOrBuilderpublic List<? extends PropertyMapProtoOrBuilder> getMapPropertyOrBuilderList()
repeated .olcut.PropertyMapProto map_property = 5;getMapPropertyOrBuilderList in interface ComponentProtoOrBuilderpublic int getMapPropertyCount()
repeated .olcut.PropertyMapProto map_property = 5;getMapPropertyCount in interface ComponentProtoOrBuilderpublic PropertyMapProto getMapProperty(int index)
repeated .olcut.PropertyMapProto map_property = 5;getMapProperty in interface ComponentProtoOrBuilderpublic PropertyMapProtoOrBuilder getMapPropertyOrBuilder(int index)
repeated .olcut.PropertyMapProto map_property = 5;getMapPropertyOrBuilder in interface ComponentProtoOrBuilderpublic boolean hasOverride()
optional string override = 6;hasOverride in interface ComponentProtoOrBuilderpublic String getOverride()
optional string override = 6;getOverride in interface ComponentProtoOrBuilderpublic com.google.protobuf.ByteString getOverrideBytes()
optional string override = 6;getOverrideBytes in interface ComponentProtoOrBuilderpublic boolean hasExportable()
optional bool exportable = 7;hasExportable in interface ComponentProtoOrBuilderpublic boolean getExportable()
optional bool exportable = 7;getExportable in interface ComponentProtoOrBuilderpublic boolean hasImportable()
optional bool importable = 8;hasImportable in interface ComponentProtoOrBuilderpublic boolean getImportable()
optional bool importable = 8;getImportable in interface ComponentProtoOrBuilderpublic boolean hasLeaseTime()
optional int64 leaseTime = 9;hasLeaseTime in interface ComponentProtoOrBuilderpublic long getLeaseTime()
optional int64 leaseTime = 9;getLeaseTime in interface ComponentProtoOrBuilderpublic boolean hasSerialized()
optional string serialized = 10;hasSerialized in interface ComponentProtoOrBuilderpublic String getSerialized()
optional string serialized = 10;getSerialized in interface ComponentProtoOrBuilderpublic com.google.protobuf.ByteString getSerializedBytes()
optional string serialized = 10;getSerializedBytes in interface ComponentProtoOrBuilderpublic boolean hasEntries()
optional string entries = 11;hasEntries in interface ComponentProtoOrBuilderpublic String getEntries()
optional string entries = 11;getEntries in interface ComponentProtoOrBuilderpublic com.google.protobuf.ByteString getEntriesBytes()
optional string entries = 11;getEntriesBytes in interface ComponentProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ComponentProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComponentProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ComponentProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComponentProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ComponentProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComponentProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ComponentProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ComponentProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ComponentProto.Builder newBuilder()
public static ComponentProto.Builder newBuilder(ComponentProto prototype)
public ComponentProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static ComponentProto getDefaultInstance()
public static com.google.protobuf.Parser<ComponentProto> parser()
public com.google.protobuf.Parser<ComponentProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ComponentProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.