Class ImportNativeDashboardsResponse.Builder (0.31.0)

public static final class ImportNativeDashboardsResponse.Builder extends GeneratedMessage.Builder<ImportNativeDashboardsResponse.Builder> implements ImportNativeDashboardsResponseOrBuilder

Response message for importing dashboards.

Protobuf type google.cloud.chronicle.v1.ImportNativeDashboardsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResults(Iterable<? extends ImportExportStatus> values)

public ImportNativeDashboardsResponse.Builder addAllResults(Iterable<? extends ImportExportStatus> values)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.ImportExportStatus>
Returns
Type Description
ImportNativeDashboardsResponse.Builder

addResults(ImportExportStatus value)

public ImportNativeDashboardsResponse.Builder addResults(ImportExportStatus value)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ImportExportStatus
Returns
Type Description
ImportNativeDashboardsResponse.Builder

addResults(ImportExportStatus.Builder builderForValue)

public ImportNativeDashboardsResponse.Builder addResults(ImportExportStatus.Builder builderForValue)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ImportExportStatus.Builder
Returns
Type Description
ImportNativeDashboardsResponse.Builder

addResults(int index, ImportExportStatus value)

public ImportNativeDashboardsResponse.Builder addResults(int index, ImportExportStatus value)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ImportExportStatus
Returns
Type Description
ImportNativeDashboardsResponse.Builder

addResults(int index, ImportExportStatus.Builder builderForValue)

public ImportNativeDashboardsResponse.Builder addResults(int index, ImportExportStatus.Builder builderForValue)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ImportExportStatus.Builder
Returns
Type Description
ImportNativeDashboardsResponse.Builder

addResultsBuilder()

public ImportExportStatus.Builder addResultsBuilder()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportExportStatus.Builder

addResultsBuilder(int index)

public ImportExportStatus.Builder addResultsBuilder(int index)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImportExportStatus.Builder

build()

public ImportNativeDashboardsResponse build()
Returns
Type Description
ImportNativeDashboardsResponse

buildPartial()

public ImportNativeDashboardsResponse buildPartial()
Returns
Type Description
ImportNativeDashboardsResponse

clear()

public ImportNativeDashboardsResponse.Builder clear()
Returns
Type Description
ImportNativeDashboardsResponse.Builder
Overrides

clearResults()

public ImportNativeDashboardsResponse.Builder clearResults()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportNativeDashboardsResponse.Builder

getDefaultInstanceForType()

public ImportNativeDashboardsResponse getDefaultInstanceForType()
Returns
Type Description
ImportNativeDashboardsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResults(int index)

public ImportExportStatus getResults(int index)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImportExportStatus

getResultsBuilder(int index)

public ImportExportStatus.Builder getResultsBuilder(int index)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImportExportStatus.Builder

getResultsBuilderList()

public List<ImportExportStatus.Builder> getResultsBuilderList()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getResultsList()

public List<ImportExportStatus> getResultsList()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ImportExportStatus>

getResultsOrBuilder(int index)

public ImportExportStatusOrBuilder getResultsOrBuilder(int index)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImportExportStatusOrBuilder

getResultsOrBuilderList()

public List<? extends ImportExportStatusOrBuilder> getResultsOrBuilderList()

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.ImportExportStatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportNativeDashboardsResponse other)

public ImportNativeDashboardsResponse.Builder mergeFrom(ImportNativeDashboardsResponse other)
Parameter
Name Description
other ImportNativeDashboardsResponse
Returns
Type Description
ImportNativeDashboardsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportNativeDashboardsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportNativeDashboardsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportNativeDashboardsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportNativeDashboardsResponse.Builder
Overrides

removeResults(int index)

public ImportNativeDashboardsResponse.Builder removeResults(int index)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImportNativeDashboardsResponse.Builder

setResults(int index, ImportExportStatus value)

public ImportNativeDashboardsResponse.Builder setResults(int index, ImportExportStatus value)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ImportExportStatus
Returns
Type Description
ImportNativeDashboardsResponse.Builder

setResults(int index, ImportExportStatus.Builder builderForValue)

public ImportNativeDashboardsResponse.Builder setResults(int index, ImportExportStatus.Builder builderForValue)

Output only. Represents the status of an import operation for multiple dashboards. Each dashboard's import status is tracked. A status of OK indicates the dashboard was ready for import. Otherwise, an appropriate error code and message are provided. Importantly, the import process is all-or-nothing: if even one dashboard fails to import, the entire import operation is aborted, and none of the dashboards are imported. The order of the statuses will be the same as in the import request.

repeated .google.cloud.chronicle.v1.ImportExportStatus results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ImportExportStatus.Builder
Returns
Type Description
ImportNativeDashboardsResponse.Builder