Class UpsertTwinRequest.Payload

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.iotics.api.UpsertTwinRequest.Payload
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpsertTwinRequest.PayloadOrBuilder, Serializable
Enclosing class:
UpsertTwinRequest

public static final class UpsertTwinRequest.Payload extends com.google.protobuf.GeneratedMessageV3 implements UpsertTwinRequest.PayloadOrBuilder
 UpsertTwinRequest payload. This state will be applied to the twin/feeds
 
Protobuf type iotics.api.UpsertTwinRequest.Payload
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasTwinId

      public boolean hasTwinId()
       Unique ID of the twin to create/update
       
      .iotics.api.TwinID twinId = 1;
      Specified by:
      hasTwinId in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      Whether the twinId field is set.
    • getTwinId

      public TwinID getTwinId()
       Unique ID of the twin to create/update
       
      .iotics.api.TwinID twinId = 1;
      Specified by:
      getTwinId in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      The twinId.
    • getTwinIdOrBuilder

      public TwinIDOrBuilder getTwinIdOrBuilder()
       Unique ID of the twin to create/update
       
      .iotics.api.TwinID twinId = 1;
      Specified by:
      getTwinIdOrBuilder in interface UpsertTwinRequest.PayloadOrBuilder
    • getVisibilityValue

      public int getVisibilityValue()
       DEPRECATED - see field description for details.
       If any metadata network allowlist property is provided, the visibility value will be ignored.
       Default value: 'PRIVATE'
       
      .iotics.api.Visibility visibility = 2;
      Specified by:
      getVisibilityValue in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • getVisibility

      public Visibility getVisibility()
       DEPRECATED - see field description for details.
       If any metadata network allowlist property is provided, the visibility value will be ignored.
       Default value: 'PRIVATE'
       
      .iotics.api.Visibility visibility = 2;
      Specified by:
      getVisibility in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      The visibility.
    • getPropertiesList

      public List<Property> getPropertiesList()
       Twin Properties to set
       
      repeated .iotics.api.Property properties = 5;
      Specified by:
      getPropertiesList in interface UpsertTwinRequest.PayloadOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
       Twin Properties to set
       
      repeated .iotics.api.Property properties = 5;
      Specified by:
      getPropertiesOrBuilderList in interface UpsertTwinRequest.PayloadOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
       Twin Properties to set
       
      repeated .iotics.api.Property properties = 5;
      Specified by:
      getPropertiesCount in interface UpsertTwinRequest.PayloadOrBuilder
    • getProperties

      public Property getProperties(int index)
       Twin Properties to set
       
      repeated .iotics.api.Property properties = 5;
      Specified by:
      getProperties in interface UpsertTwinRequest.PayloadOrBuilder
    • getPropertiesOrBuilder

      public PropertyOrBuilder getPropertiesOrBuilder(int index)
       Twin Properties to set
       
      repeated .iotics.api.Property properties = 5;
      Specified by:
      getPropertiesOrBuilder in interface UpsertTwinRequest.PayloadOrBuilder
    • hasLocation

      public boolean hasLocation()
       Twin location to set. If not set the Twin will have no location
       
      .iotics.api.GeoLocation location = 6;
      Specified by:
      hasLocation in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public GeoLocation getLocation()
       Twin location to set. If not set the Twin will have no location
       
      .iotics.api.GeoLocation location = 6;
      Specified by:
      getLocation in interface UpsertTwinRequest.PayloadOrBuilder
      Returns:
      The location.
    • getLocationOrBuilder

      public GeoLocationOrBuilder getLocationOrBuilder()
       Twin location to set. If not set the Twin will have no location
       
      .iotics.api.GeoLocation location = 6;
      Specified by:
      getLocationOrBuilder in interface UpsertTwinRequest.PayloadOrBuilder
    • getFeedsList

      public List<UpsertFeedWithMeta> getFeedsList()
       Feeds with metadata to set for the twin
       
      repeated .iotics.api.UpsertFeedWithMeta feeds = 7;
      Specified by:
      getFeedsList in interface UpsertTwinRequest.PayloadOrBuilder
    • getFeedsOrBuilderList

      public List<? extends UpsertFeedWithMetaOrBuilder> getFeedsOrBuilderList()
       Feeds with metadata to set for the twin
       
      repeated .iotics.api.UpsertFeedWithMeta feeds = 7;
      Specified by:
      getFeedsOrBuilderList in interface UpsertTwinRequest.PayloadOrBuilder
    • getFeedsCount

      public int getFeedsCount()
       Feeds with metadata to set for the twin
       
      repeated .iotics.api.UpsertFeedWithMeta feeds = 7;
      Specified by:
      getFeedsCount in interface UpsertTwinRequest.PayloadOrBuilder
    • getFeeds

      public UpsertFeedWithMeta getFeeds(int index)
       Feeds with metadata to set for the twin
       
      repeated .iotics.api.UpsertFeedWithMeta feeds = 7;
      Specified by:
      getFeeds in interface UpsertTwinRequest.PayloadOrBuilder
    • getFeedsOrBuilder

      public UpsertFeedWithMetaOrBuilder getFeedsOrBuilder(int index)
       Feeds with metadata to set for the twin
       
      repeated .iotics.api.UpsertFeedWithMeta feeds = 7;
      Specified by:
      getFeedsOrBuilder in interface UpsertTwinRequest.PayloadOrBuilder
    • getInputsList

      public List<UpsertInputWithMeta> getInputsList()
       Inputs with metadata to set for the twin
       
      repeated .iotics.api.UpsertInputWithMeta inputs = 8;
      Specified by:
      getInputsList in interface UpsertTwinRequest.PayloadOrBuilder
    • getInputsOrBuilderList

      public List<? extends UpsertInputWithMetaOrBuilder> getInputsOrBuilderList()
       Inputs with metadata to set for the twin
       
      repeated .iotics.api.UpsertInputWithMeta inputs = 8;
      Specified by:
      getInputsOrBuilderList in interface UpsertTwinRequest.PayloadOrBuilder
    • getInputsCount

      public int getInputsCount()
       Inputs with metadata to set for the twin
       
      repeated .iotics.api.UpsertInputWithMeta inputs = 8;
      Specified by:
      getInputsCount in interface UpsertTwinRequest.PayloadOrBuilder
    • getInputs

      public UpsertInputWithMeta getInputs(int index)
       Inputs with metadata to set for the twin
       
      repeated .iotics.api.UpsertInputWithMeta inputs = 8;
      Specified by:
      getInputs in interface UpsertTwinRequest.PayloadOrBuilder
    • getInputsOrBuilder

      public UpsertInputWithMetaOrBuilder getInputsOrBuilder(int index)
       Inputs with metadata to set for the twin
       
      repeated .iotics.api.UpsertInputWithMeta inputs = 8;
      Specified by:
      getInputsOrBuilder in interface UpsertTwinRequest.PayloadOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpsertTwinRequest.Payload parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpsertTwinRequest.Payload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpsertTwinRequest.Payload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpsertTwinRequest.Payload.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpsertTwinRequest.Payload.Builder newBuilder()
    • newBuilder

      public static UpsertTwinRequest.Payload.Builder newBuilder(UpsertTwinRequest.Payload prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpsertTwinRequest.Payload.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UpsertTwinRequest.Payload getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpsertTwinRequest.Payload> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpsertTwinRequest.Payload> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public UpsertTwinRequest.Payload getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder