Class CreateNativeDashboardRequest.Builder

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

public static final class CreateNativeDashboardRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateNativeDashboardRequest.Builder> implements CreateNativeDashboardRequestOrBuilder
 Request message to create a dashboard.
 
Protobuf type google.cloud.chronicle.v1.CreateNativeDashboardRequest
  • 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<CreateNativeDashboardRequest.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<CreateNativeDashboardRequest.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<CreateNativeDashboardRequest.Builder>
    • getDefaultInstanceForType

      public CreateNativeDashboardRequest 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 CreateNativeDashboardRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public CreateNativeDashboardRequest.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<CreateNativeDashboardRequest.Builder>
      Throws:
      IOException
    • 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) = { ... }
      Specified by:
      getParent in interface CreateNativeDashboardRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getParentBytes in interface CreateNativeDashboardRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateNativeDashboardRequest.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) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setParentBytes

      public CreateNativeDashboardRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasNativeDashboard

      public boolean hasNativeDashboard()
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNativeDashboard in interface CreateNativeDashboardRequestOrBuilder
      Returns:
      Whether the nativeDashboard field is set.
    • getNativeDashboard

      public NativeDashboard getNativeDashboard()
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNativeDashboard in interface CreateNativeDashboardRequestOrBuilder
      Returns:
      The nativeDashboard.
    • setNativeDashboard

      public CreateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard value)
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • setNativeDashboard

      public CreateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard.Builder builderForValue)
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeNativeDashboard

      public CreateNativeDashboardRequest.Builder mergeNativeDashboard(NativeDashboard value)
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearNativeDashboard

      public CreateNativeDashboardRequest.Builder clearNativeDashboard()
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNativeDashboardBuilder

      public NativeDashboard.Builder getNativeDashboardBuilder()
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNativeDashboardOrBuilder

      public NativeDashboardOrBuilder getNativeDashboardOrBuilder()
       Required. The dashboard to create.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNativeDashboardOrBuilder in interface CreateNativeDashboardRequestOrBuilder