Class ImportNativeDashboardsRequest.Builder (0.31.0)

public static final class ImportNativeDashboardsRequest.Builder extends GeneratedMessage.Builder<ImportNativeDashboardsRequest.Builder> implements ImportNativeDashboardsRequestOrBuilder

Request message to import dashboards.

Protobuf type google.cloud.chronicle.v1.ImportNativeDashboardsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ImportNativeDashboardsRequest build()
Returns
Type Description
ImportNativeDashboardsRequest

buildPartial()

public ImportNativeDashboardsRequest buildPartial()
Returns
Type Description
ImportNativeDashboardsRequest

clear()

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

clearParent()

public ImportNativeDashboardsRequest.Builder clearParent()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ImportNativeDashboardsRequest.Builder

This builder for chaining.

clearSource()

public ImportNativeDashboardsRequest.Builder clearSource()

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportNativeDashboardsRequest.Builder

getDefaultInstanceForType()

public ImportNativeDashboardsRequest getDefaultInstanceForType()
Returns
Type Description
ImportNativeDashboardsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSource()

public ImportNativeDashboardsInlineSource getSource()

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportNativeDashboardsInlineSource

The source.

getSourceBuilder()

public ImportNativeDashboardsInlineSource.Builder getSourceBuilder()

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

getSourceOrBuilder()

public ImportNativeDashboardsInlineSourceOrBuilder getSourceOrBuilder()

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportNativeDashboardsInlineSourceOrBuilder

hasSource()

public boolean hasSource()

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportNativeDashboardsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSource(ImportNativeDashboardsInlineSource value)

public ImportNativeDashboardsRequest.Builder mergeSource(ImportNativeDashboardsInlineSource value)

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ImportNativeDashboardsInlineSource
Returns
Type Description
ImportNativeDashboardsRequest.Builder

setParent(String value)

public ImportNativeDashboardsRequest.Builder setParent(String value)

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ImportNativeDashboardsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ImportNativeDashboardsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ImportNativeDashboardsRequest.Builder

This builder for chaining.

setSource(ImportNativeDashboardsInlineSource value)

public ImportNativeDashboardsRequest.Builder setSource(ImportNativeDashboardsInlineSource value)

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ImportNativeDashboardsInlineSource
Returns
Type Description
ImportNativeDashboardsRequest.Builder

setSource(ImportNativeDashboardsInlineSource.Builder builderForValue)

public ImportNativeDashboardsRequest.Builder setSource(ImportNativeDashboardsInlineSource.Builder builderForValue)

Required. The data will imported from this proto.

.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ImportNativeDashboardsInlineSource.Builder
Returns
Type Description
ImportNativeDashboardsRequest.Builder