Class FeaturedContentNativeDashboard.Builder (0.31.0)

public static final class FeaturedContentNativeDashboard.Builder extends GeneratedMessage.Builder<FeaturedContentNativeDashboard.Builder> implements FeaturedContentNativeDashboardOrBuilder

FeaturedContentNativeDashboard resource.

Protobuf type google.cloud.chronicle.v1.FeaturedContentNativeDashboard

Static Methods

getDescriptor()

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

Methods

build()

public FeaturedContentNativeDashboard build()
Returns
Type Description
FeaturedContentNativeDashboard

buildPartial()

public FeaturedContentNativeDashboard buildPartial()
Returns
Type Description
FeaturedContentNativeDashboard

clear()

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

clearContentMetadata()

public FeaturedContentNativeDashboard.Builder clearContentMetadata()

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeaturedContentNativeDashboard.Builder

clearDashboardContent()

public FeaturedContentNativeDashboard.Builder clearDashboardContent()

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeaturedContentNativeDashboard.Builder

clearName()

public FeaturedContentNativeDashboard.Builder clearName()

Identifier. The resource name of the FeaturedContentNativeDashboard. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
FeaturedContentNativeDashboard.Builder

This builder for chaining.

getContentMetadata()

public FeaturedContentMetadata getContentMetadata()

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeaturedContentMetadata

The contentMetadata.

getContentMetadataBuilder()

public FeaturedContentMetadata.Builder getContentMetadataBuilder()

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeaturedContentMetadata.Builder

getContentMetadataOrBuilder()

public FeaturedContentMetadataOrBuilder getContentMetadataOrBuilder()

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeaturedContentMetadataOrBuilder

getDashboardContent()

public NativeDashboardWithChartsAndQueries getDashboardContent()

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NativeDashboardWithChartsAndQueries

The dashboardContent.

getDashboardContentBuilder()

public NativeDashboardWithChartsAndQueries.Builder getDashboardContentBuilder()

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NativeDashboardWithChartsAndQueries.Builder

getDashboardContentOrBuilder()

public NativeDashboardWithChartsAndQueriesOrBuilder getDashboardContentOrBuilder()

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NativeDashboardWithChartsAndQueriesOrBuilder

getDefaultInstanceForType()

public FeaturedContentNativeDashboard getDefaultInstanceForType()
Returns
Type Description
FeaturedContentNativeDashboard

getDescriptorForType()

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

getName()

public String getName()

Identifier. The resource name of the FeaturedContentNativeDashboard. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the FeaturedContentNativeDashboard. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

hasContentMetadata()

public boolean hasContentMetadata()

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the contentMetadata field is set.

hasDashboardContent()

public boolean hasDashboardContent()

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dashboardContent field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContentMetadata(FeaturedContentMetadata value)

public FeaturedContentNativeDashboard.Builder mergeContentMetadata(FeaturedContentMetadata value)

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FeaturedContentMetadata
Returns
Type Description
FeaturedContentNativeDashboard.Builder

mergeDashboardContent(NativeDashboardWithChartsAndQueries value)

public FeaturedContentNativeDashboard.Builder mergeDashboardContent(NativeDashboardWithChartsAndQueries value)

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NativeDashboardWithChartsAndQueries
Returns
Type Description
FeaturedContentNativeDashboard.Builder

mergeFrom(FeaturedContentNativeDashboard other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContentMetadata(FeaturedContentMetadata value)

public FeaturedContentNativeDashboard.Builder setContentMetadata(FeaturedContentMetadata value)

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FeaturedContentMetadata
Returns
Type Description
FeaturedContentNativeDashboard.Builder

setContentMetadata(FeaturedContentMetadata.Builder builderForValue)

public FeaturedContentNativeDashboard.Builder setContentMetadata(FeaturedContentMetadata.Builder builderForValue)

Output only. Metadata about the FeaturedContentNativeDashboard.

.google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FeaturedContentMetadata.Builder
Returns
Type Description
FeaturedContentNativeDashboard.Builder

setDashboardContent(NativeDashboardWithChartsAndQueries value)

public FeaturedContentNativeDashboard.Builder setDashboardContent(NativeDashboardWithChartsAndQueries value)

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NativeDashboardWithChartsAndQueries
Returns
Type Description
FeaturedContentNativeDashboard.Builder

setDashboardContent(NativeDashboardWithChartsAndQueries.Builder builderForValue)

public FeaturedContentNativeDashboard.Builder setDashboardContent(NativeDashboardWithChartsAndQueries.Builder builderForValue)

Optional. The dashboard content.

.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NativeDashboardWithChartsAndQueries.Builder
Returns
Type Description
FeaturedContentNativeDashboard.Builder

setName(String value)

public FeaturedContentNativeDashboard.Builder setName(String value)

Identifier. The resource name of the FeaturedContentNativeDashboard. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FeaturedContentNativeDashboard.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FeaturedContentNativeDashboard.Builder setNameBytes(ByteString value)

Identifier. The resource name of the FeaturedContentNativeDashboard. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FeaturedContentNativeDashboard.Builder

This builder for chaining.