Class MobileDiagnostics.Builder

    • Method Detail

      • 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.Builder<MobileDiagnostics.Builder>
      • clear

        public MobileDiagnostics.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • getDefaultInstanceForType

        public MobileDiagnostics getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MobileDiagnostics build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MobileDiagnostics buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public MobileDiagnostics.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • setField

        public MobileDiagnostics.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • clearField

        public MobileDiagnostics.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • clearOneof

        public MobileDiagnostics.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • setRepeatedField

        public MobileDiagnostics.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • addRepeatedField

        public MobileDiagnostics.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • mergeFrom

        public MobileDiagnostics.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MobileDiagnostics.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • mergeFrom

        public MobileDiagnostics.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MobileDiagnostics.Builder>
        Throws:
        IOException
      • getDeviceIdentifierBytes

        public com.google.protobuf.ByteString getDeviceIdentifierBytes()
        string device_identifier = 1 [json_name = "deviceIdentifier"];
        Specified by:
        getDeviceIdentifierBytes in interface MobileDiagnosticsOrBuilder
        Returns:
        The bytes for deviceIdentifier.
      • setDeviceIdentifier

        public MobileDiagnostics.Builder setDeviceIdentifier​(String value)
        string device_identifier = 1 [json_name = "deviceIdentifier"];
        Parameters:
        value - The deviceIdentifier to set.
        Returns:
        This builder for chaining.
      • clearDeviceIdentifier

        public MobileDiagnostics.Builder clearDeviceIdentifier()
        string device_identifier = 1 [json_name = "deviceIdentifier"];
        Returns:
        This builder for chaining.
      • setDeviceIdentifierBytes

        public MobileDiagnostics.Builder setDeviceIdentifierBytes​(com.google.protobuf.ByteString value)
        string device_identifier = 1 [json_name = "deviceIdentifier"];
        Parameters:
        value - The bytes for deviceIdentifier to set.
        Returns:
        This builder for chaining.
      • getClientVersionBytes

        @Deprecated
        public com.google.protobuf.ByteString getClientVersionBytes()
        Deprecated.
        string client_version = 2 [json_name = "clientVersion", deprecated = true];
        Specified by:
        getClientVersionBytes in interface MobileDiagnosticsOrBuilder
        Returns:
        The bytes for clientVersion.
      • setClientVersion

        @Deprecated
        public MobileDiagnostics.Builder setClientVersion​(String value)
        Deprecated.
        string client_version = 2 [json_name = "clientVersion", deprecated = true];
        Parameters:
        value - The clientVersion to set.
        Returns:
        This builder for chaining.
      • clearClientVersion

        @Deprecated
        public MobileDiagnostics.Builder clearClientVersion()
        Deprecated.
        string client_version = 2 [json_name = "clientVersion", deprecated = true];
        Returns:
        This builder for chaining.
      • setClientVersionBytes

        @Deprecated
        public MobileDiagnostics.Builder setClientVersionBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        string client_version = 2 [json_name = "clientVersion", deprecated = true];
        Parameters:
        value - The bytes for clientVersion to set.
        Returns:
        This builder for chaining.
      • getPromotedLibraryVersionBytes

        @Deprecated
        public com.google.protobuf.ByteString getPromotedLibraryVersionBytes()
        Deprecated.
        string promoted_library_version = 3 [json_name = "promotedLibraryVersion", deprecated = true];
        Specified by:
        getPromotedLibraryVersionBytes in interface MobileDiagnosticsOrBuilder
        Returns:
        The bytes for promotedLibraryVersion.
      • setPromotedLibraryVersion

        @Deprecated
        public MobileDiagnostics.Builder setPromotedLibraryVersion​(String value)
        Deprecated.
        string promoted_library_version = 3 [json_name = "promotedLibraryVersion", deprecated = true];
        Parameters:
        value - The promotedLibraryVersion to set.
        Returns:
        This builder for chaining.
      • clearPromotedLibraryVersion

        @Deprecated
        public MobileDiagnostics.Builder clearPromotedLibraryVersion()
        Deprecated.
        string promoted_library_version = 3 [json_name = "promotedLibraryVersion", deprecated = true];
        Returns:
        This builder for chaining.
      • setPromotedLibraryVersionBytes

        @Deprecated
        public MobileDiagnostics.Builder setPromotedLibraryVersionBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        string promoted_library_version = 3 [json_name = "promotedLibraryVersion", deprecated = true];
        Parameters:
        value - The bytes for promotedLibraryVersion to set.
        Returns:
        This builder for chaining.
      • getBatchesAttempted

        public int getBatchesAttempted()
        int32 batches_attempted = 4 [json_name = "batchesAttempted"];
        Specified by:
        getBatchesAttempted in interface MobileDiagnosticsOrBuilder
        Returns:
        The batchesAttempted.
      • setBatchesAttempted

        public MobileDiagnostics.Builder setBatchesAttempted​(int value)
        int32 batches_attempted = 4 [json_name = "batchesAttempted"];
        Parameters:
        value - The batchesAttempted to set.
        Returns:
        This builder for chaining.
      • clearBatchesAttempted

        public MobileDiagnostics.Builder clearBatchesAttempted()
        int32 batches_attempted = 4 [json_name = "batchesAttempted"];
        Returns:
        This builder for chaining.
      • getBatchesSentSuccessfully

        public int getBatchesSentSuccessfully()
        int32 batches_sent_successfully = 5 [json_name = "batchesSentSuccessfully"];
        Specified by:
        getBatchesSentSuccessfully in interface MobileDiagnosticsOrBuilder
        Returns:
        The batchesSentSuccessfully.
      • setBatchesSentSuccessfully

        public MobileDiagnostics.Builder setBatchesSentSuccessfully​(int value)
        int32 batches_sent_successfully = 5 [json_name = "batchesSentSuccessfully"];
        Parameters:
        value - The batchesSentSuccessfully to set.
        Returns:
        This builder for chaining.
      • clearBatchesSentSuccessfully

        public MobileDiagnostics.Builder clearBatchesSentSuccessfully()
        int32 batches_sent_successfully = 5 [json_name = "batchesSentSuccessfully"];
        Returns:
        This builder for chaining.
      • getBatchesWithErrors

        public int getBatchesWithErrors()
        int32 batches_with_errors = 6 [json_name = "batchesWithErrors"];
        Specified by:
        getBatchesWithErrors in interface MobileDiagnosticsOrBuilder
        Returns:
        The batchesWithErrors.
      • setBatchesWithErrors

        public MobileDiagnostics.Builder setBatchesWithErrors​(int value)
        int32 batches_with_errors = 6 [json_name = "batchesWithErrors"];
        Parameters:
        value - The batchesWithErrors to set.
        Returns:
        This builder for chaining.
      • clearBatchesWithErrors

        public MobileDiagnostics.Builder clearBatchesWithErrors()
        int32 batches_with_errors = 6 [json_name = "batchesWithErrors"];
        Returns:
        This builder for chaining.
      • hasErrorHistory

        public boolean hasErrorHistory()
        .event.ErrorHistory error_history = 7 [json_name = "errorHistory"];
        Specified by:
        hasErrorHistory in interface MobileDiagnosticsOrBuilder
        Returns:
        Whether the errorHistory field is set.
      • clearErrorHistory

        public MobileDiagnostics.Builder clearErrorHistory()
        .event.ErrorHistory error_history = 7 [json_name = "errorHistory"];
      • getErrorHistoryBuilder

        public ErrorHistory.Builder getErrorHistoryBuilder()
        .event.ErrorHistory error_history = 7 [json_name = "errorHistory"];
      • hasAncestorIdHistory

        public boolean hasAncestorIdHistory()
        .event.AncestorIdHistory ancestor_id_history = 8 [json_name = "ancestorIdHistory"];
        Specified by:
        hasAncestorIdHistory in interface MobileDiagnosticsOrBuilder
        Returns:
        Whether the ancestorIdHistory field is set.
      • clearAncestorIdHistory

        public MobileDiagnostics.Builder clearAncestorIdHistory()
        .event.AncestorIdHistory ancestor_id_history = 8 [json_name = "ancestorIdHistory"];
      • getAncestorIdHistoryBuilder

        public AncestorIdHistory.Builder getAncestorIdHistoryBuilder()
        .event.AncestorIdHistory ancestor_id_history = 8 [json_name = "ancestorIdHistory"];
      • setUnknownFields

        public final MobileDiagnostics.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>
      • mergeUnknownFields

        public final MobileDiagnostics.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MobileDiagnostics.Builder>