Class ImportNativeDashboardsRequest.Builder

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

public static final class ImportNativeDashboardsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportNativeDashboardsRequest.Builder> implements ImportNativeDashboardsRequestOrBuilder
 Request message to import dashboards.
 
Protobuf type google.cloud.chronicle.v1.ImportNativeDashboardsRequest
  • 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<ImportNativeDashboardsRequest.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<ImportNativeDashboardsRequest.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<ImportNativeDashboardsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public ImportNativeDashboardsRequest.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<ImportNativeDashboardsRequest.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 ImportNativeDashboardsRequestOrBuilder
      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 ImportNativeDashboardsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       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 ImportNativeDashboardsRequest.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.
    • hasSource

      public boolean hasSource()
       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSource in interface ImportNativeDashboardsRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSource in interface ImportNativeDashboardsRequestOrBuilder
      Returns:
      The source.
    • setSource

       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
    • setSource

       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeSource

       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearSource

       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
    • 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];
    • getSourceOrBuilder

      public ImportNativeDashboardsInlineSourceOrBuilder getSourceOrBuilder()
       Required. The data will imported from this proto.
       
      .google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceOrBuilder in interface ImportNativeDashboardsRequestOrBuilder