Class FeaturedContentNativeDashboard.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeaturedContentNativeDashboard.Builder>
com.google.cloud.chronicle.v1.FeaturedContentNativeDashboard.Builder
All Implemented Interfaces:
FeaturedContentNativeDashboardOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeaturedContentNativeDashboard

public static final class FeaturedContentNativeDashboard.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeaturedContentNativeDashboard.Builder> implements FeaturedContentNativeDashboardOrBuilder
 FeaturedContentNativeDashboard resource.
 
Protobuf type google.cloud.chronicle.v1.FeaturedContentNativeDashboard
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FeaturedContentNativeDashboard.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.GeneratedMessage.Builder<FeaturedContentNativeDashboard.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.GeneratedMessage.Builder<FeaturedContentNativeDashboard.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public FeaturedContentNativeDashboard.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<FeaturedContentNativeDashboard.Builder>
    • mergeFrom

    • isInitialized

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

      public FeaturedContentNativeDashboard.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<FeaturedContentNativeDashboard.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      The bytes for name.
    • setName

       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public FeaturedContentNativeDashboard.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasContentMetadata

      public boolean hasContentMetadata()
       Output only. Metadata about the FeaturedContentNativeDashboard.
       
      .google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasContentMetadata in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      Whether the contentMetadata field is set.
    • getContentMetadata

      public FeaturedContentMetadata getContentMetadata()
       Output only. Metadata about the FeaturedContentNativeDashboard.
       
      .google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getContentMetadata in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      The contentMetadata.
    • setContentMetadata

       Output only. Metadata about the FeaturedContentNativeDashboard.
       
      .google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setContentMetadata

      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];
    • mergeContentMetadata

       Output only. Metadata about the FeaturedContentNativeDashboard.
       
      .google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • 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];
    • getContentMetadataOrBuilder

      public FeaturedContentMetadataOrBuilder getContentMetadataOrBuilder()
       Output only. Metadata about the FeaturedContentNativeDashboard.
       
      .google.cloud.chronicle.v1.FeaturedContentMetadata content_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getContentMetadataOrBuilder in interface FeaturedContentNativeDashboardOrBuilder
    • hasDashboardContent

      public boolean hasDashboardContent()
       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDashboardContent in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      Whether the dashboardContent field is set.
    • getDashboardContent

      public NativeDashboardWithChartsAndQueries getDashboardContent()
       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDashboardContent in interface FeaturedContentNativeDashboardOrBuilder
      Returns:
      The dashboardContent.
    • setDashboardContent

       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setDashboardContent

       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDashboardContent

       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearDashboardContent

      public FeaturedContentNativeDashboard.Builder clearDashboardContent()
       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDashboardContentBuilder

      public NativeDashboardWithChartsAndQueries.Builder getDashboardContentBuilder()
       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDashboardContentOrBuilder

      public NativeDashboardWithChartsAndQueriesOrBuilder getDashboardContentOrBuilder()
       Optional. The dashboard content.
       
      .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboard_content = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDashboardContentOrBuilder in interface FeaturedContentNativeDashboardOrBuilder