Class FullSyncInfo

  • All Implemented Interfaces:
    com.vmware.vapi.bindings.StaticStructure, com.vmware.vapi.bindings.Structure, java.io.Serializable

    public final class FullSyncInfo
    extends java.lang.Object
    implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
    Represents details of the last full sync if full sync is not running, otherwise returns the status of current full sync.
    See Also:
    Serialized Form
    • Field Detail

      • REASON_CODE_QUEUE_OVERFLOW_ON_TRANSMITTER

        public static final java.lang.String REASON_CODE_QUEUE_OVERFLOW_ON_TRANSMITTER
        See Also:
        Constant Field Values
      • REASON_CODE_QUEUE_OVERFLOW_ON_RECEIVER

        public static final java.lang.String REASON_CODE_QUEUE_OVERFLOW_ON_RECEIVER
        See Also:
        Constant Field Values
      • REASON_CODE_CONNECTION_RESTORED

        public static final java.lang.String REASON_CODE_CONNECTION_RESTORED
        See Also:
        Constant Field Values
      • REASON_CODE_LM_ONBOARDED

        public static final java.lang.String REASON_CODE_LM_ONBOARDED
        See Also:
        Constant Field Values
      • REASON_CODE_GM_SWITCHOVER

        public static final java.lang.String REASON_CODE_GM_SWITCHOVER
        See Also:
        Constant Field Values
      • REASON_CODE_RESTORED_GM_FROM_BACKUP

        public static final java.lang.String REASON_CODE_RESTORED_GM_FROM_BACKUP
        See Also:
        Constant Field Values
      • REASON_CODE_RESTORED_LM_FROM_BACKUP

        public static final java.lang.String REASON_CODE_RESTORED_LM_FROM_BACKUP
        See Also:
        Constant Field Values
      • REASON_CODE_BROWNFIELD_CONFIG_MIGRATION_FROM_LM_TO_GM

        public static final java.lang.String REASON_CODE_BROWNFIELD_CONFIG_MIGRATION_FROM_LM_TO_GM
        See Also:
        Constant Field Values
      • REASON_CODE_GM_REQUESTED_OVERSIZED_PAYLOAD

        public static final java.lang.String REASON_CODE_GM_REQUESTED_OVERSIZED_PAYLOAD
        See Also:
        Constant Field Values
      • REASON_CODE_GM_REQUESTED_SITE_ONBOARDING

        public static final java.lang.String REASON_CODE_GM_REQUESTED_SITE_ONBOARDING
        See Also:
        Constant Field Values
      • REASON_CODE_GM_REQUESTED_OTHER

        public static final java.lang.String REASON_CODE_GM_REQUESTED_OTHER
        See Also:
        Constant Field Values
      • REASON_CODE_LM_REQUSTED_OVERSIZED_PAYLOAD

        public static final java.lang.String REASON_CODE_LM_REQUSTED_OVERSIZED_PAYLOAD
        See Also:
        Constant Field Values
      • REASON_CODE_LM_REQUESTED_OTHER

        public static final java.lang.String REASON_CODE_LM_REQUESTED_OTHER
        See Also:
        Constant Field Values
      • REASON_CODE_USER_REQUSTED

        public static final java.lang.String REASON_CODE_USER_REQUSTED
        See Also:
        Constant Field Values
      • REASON_CODE_OTHER_AR_INTERNAL

        public static final java.lang.String REASON_CODE_OTHER_AR_INTERNAL
        See Also:
        Constant Field Values
      • REASON_CODE_POST_UPGRADE_GM

        public static final java.lang.String REASON_CODE_POST_UPGRADE_GM
        See Also:
        Constant Field Values
      • REASON_CODE_POST_UPGRADE_LM

        public static final java.lang.String REASON_CODE_POST_UPGRADE_LM
        See Also:
        Constant Field Values
      • REASON_CODE_UNKNOWN

        public static final java.lang.String REASON_CODE_UNKNOWN
        See Also:
        Constant Field Values
      • STAGE_NOT_STARTED

        public static final java.lang.String STAGE_NOT_STARTED
        See Also:
        Constant Field Values
      • STAGE_REQUESTED_FULL_STATE_FROM_SOURCE

        public static final java.lang.String STAGE_REQUESTED_FULL_STATE_FROM_SOURCE
        See Also:
        Constant Field Values
      • STAGE_TRANSFERRING_FULL_STATE

        public static final java.lang.String STAGE_TRANSFERRING_FULL_STATE
        See Also:
        Constant Field Values
      • STAGE_COMPLETED_TRANSFERRING_FULL_STATE

        public static final java.lang.String STAGE_COMPLETED_TRANSFERRING_FULL_STATE
        See Also:
        Constant Field Values
      • STAGE_DESTINATION_APPLYING_FULL_STATE

        public static final java.lang.String STAGE_DESTINATION_APPLYING_FULL_STATE
        See Also:
        Constant Field Values
      • STAGE_COMPLETED_SUCCESSFUL

        public static final java.lang.String STAGE_COMPLETED_SUCCESSFUL
        See Also:
        Constant Field Values
      • STAGE_TIMEOUT_ON_SOURCE_RECEIVE_FULL_STATE

        public static final java.lang.String STAGE_TIMEOUT_ON_SOURCE_RECEIVE_FULL_STATE
        See Also:
        Constant Field Values
      • STAGE_TIMEOUT_ON_DESTINATION_APPLY

        public static final java.lang.String STAGE_TIMEOUT_ON_DESTINATION_APPLY
        See Also:
        Constant Field Values
      • STAGE_COMPLETED_FAILED

        public static final java.lang.String STAGE_COMPLETED_FAILED
        See Also:
        Constant Field Values
      • STATUS_NOT_STARTED

        public static final java.lang.String STATUS_NOT_STARTED
        See Also:
        Constant Field Values
      • STATUS_IN_PROGRESS

        public static final java.lang.String STATUS_IN_PROGRESS
        See Also:
        Constant Field Values
      • STATUS_COMPLETED

        public static final java.lang.String STATUS_COMPLETED
        See Also:
        Constant Field Values
      • __dynamicStructureFields

        protected com.vmware.vapi.data.StructValue __dynamicStructureFields
    • Constructor Detail

      • FullSyncInfo

        public FullSyncInfo()
        Default constructor.
      • FullSyncInfo

        protected FullSyncInfo​(com.vmware.vapi.data.StructValue __dynamicStructureFields)
    • Method Detail

      • getDataStreamingFromSourceEndTime

        public java.lang.Long getDataStreamingFromSourceEndTime()
        End time of streaming full state from source format: int64
        Returns:
        The current value of the property.
      • setDataStreamingFromSourceEndTime

        public void setDataStreamingFromSourceEndTime​(java.lang.Long dataStreamingFromSourceEndTime)
        End time of streaming full state from source format: int64
        Parameters:
        dataStreamingFromSourceEndTime - New value for the property.
      • getDataStreamingFromSourceProgress

        public java.lang.String getDataStreamingFromSourceProgress()
        Details about full sync on sender side
        Returns:
        The current value of the property.
      • setDataStreamingFromSourceProgress

        public void setDataStreamingFromSourceProgress​(java.lang.String dataStreamingFromSourceProgress)
        Details about full sync on sender side
        Parameters:
        dataStreamingFromSourceProgress - New value for the property.
      • getDataStreamingFromSourceStartTime

        public java.lang.Long getDataStreamingFromSourceStartTime()
        Start time of streaming full state from source format: int64
        Returns:
        The current value of the property.
      • setDataStreamingFromSourceStartTime

        public void setDataStreamingFromSourceStartTime​(java.lang.Long dataStreamingFromSourceStartTime)
        Start time of streaming full state from source format: int64
        Parameters:
        dataStreamingFromSourceStartTime - New value for the property.
      • getEndTime

        public java.lang.Long getEndTime()
        Full sync end time format: int64
        Returns:
        The current value of the property.
      • setEndTime

        public void setEndTime​(java.lang.Long endTime)
        Full sync end time format: int64
        Parameters:
        endTime - New value for the property.
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Errors if any
        Returns:
        The current value of the property.
      • setErrors

        public void setErrors​(java.util.List<java.lang.String> errors)
        Errors if any
        Parameters:
        errors - New value for the property.
      • getFullSyncId

        public java.lang.String getFullSyncId()
        Full sync id
        Returns:
        The current value of the property.
      • setFullSyncId

        public void setFullSyncId​(java.lang.String fullSyncId)
        Full sync id
        Parameters:
        fullSyncId - New value for the property.
      • getReason

        public java.lang.String getReason()
        Description of full sync reason
        Returns:
        The current value of the property.
      • setReason

        public void setReason​(java.lang.String reason)
        Description of full sync reason
        Parameters:
        reason - New value for the property.
      • getReceiverEndTime

        public java.lang.Long getReceiverEndTime()
        End time of completing applying full state on receiver side format: int64
        Returns:
        The current value of the property.
      • setReceiverEndTime

        public void setReceiverEndTime​(java.lang.Long receiverEndTime)
        End time of completing applying full state on receiver side format: int64
        Parameters:
        receiverEndTime - New value for the property.
      • getReceiverStartTime

        public java.lang.Long getReceiverStartTime()
        Start time of applying full state on receiver side format: int64
        Returns:
        The current value of the property.
      • setReceiverStartTime

        public void setReceiverStartTime​(java.lang.Long receiverStartTime)
        Start time of applying full state on receiver side format: int64
        Parameters:
        receiverStartTime - New value for the property.
      • getReceiverState

        public java.lang.String getReceiverState()
        This is optional information, provides useful insights on receiver side once async channel hands over full state data to receiver.
        Returns:
        The current value of the property.
      • setReceiverState

        public void setReceiverState​(java.lang.String receiverState)
        This is optional information, provides useful insights on receiver side once async channel hands over full state data to receiver.
        Parameters:
        receiverState - New value for the property.
      • getReceiverTimeToApplyInMillis

        public java.lang.Long getReceiverTimeToApplyInMillis()
        Time taken by application receiver to apply the full state received format: int64
        Returns:
        The current value of the property.
      • setReceiverTimeToApplyInMillis

        public void setReceiverTimeToApplyInMillis​(java.lang.Long receiverTimeToApplyInMillis)
        Time taken by application receiver to apply the full state received format: int64
        Parameters:
        receiverTimeToApplyInMillis - New value for the property.
      • getStartTime

        public java.lang.Long getStartTime()
        Full sync start time format: int64
        Returns:
        The current value of the property.
      • setStartTime

        public void setStartTime​(java.lang.Long startTime)
        Full sync start time format: int64
        Parameters:
        startTime - New value for the property.
      • getWarnings

        public java.util.List<java.lang.String> getWarnings()
        Errors if any
        Returns:
        The current value of the property.
      • setWarnings

        public void setWarnings​(java.util.List<java.lang.String> warnings)
        Errors if any
        Parameters:
        warnings - New value for the property.
      • _getType

        public com.vmware.vapi.bindings.type.StructType _getType()
        Specified by:
        _getType in interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructure
      • _getClassType

        public static com.vmware.vapi.bindings.type.StructType _getClassType()
        WARNING: Internal method, subject to change in future versions.
        Returns:
        StructType instance representing the static bindings type for this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.vmware.vapi.bindings.Structure
      • _getCanonicalTypeName

        public static java.lang.String _getCanonicalTypeName()
        Returns the canonical type name. See _getCanonicalName().
        Returns:
        canonical type name
      • _newInstance

        public static FullSyncInfo _newInstance​(com.vmware.vapi.data.StructValue structValue)
        WARNING: Internal method, subject to change in future versions.
        Returns new instance of this binding class and injects the provided data value.
        WARNING: The returned object is not fully initialized.
        Parameters:
        structValue - the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.
        Returns:
        the static bindings StructType
      • _newInstance2

        public static FullSyncInfo _newInstance2​(com.vmware.vapi.data.StructValue structValue)
        WARNING: Internal method, subject to change in future versions.
        Serves as a versioning mechanism.