Class DuplicateNativeDashboardRequest.Builder

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

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

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

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

      public DuplicateNativeDashboardRequest.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<DuplicateNativeDashboardRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The dashboard name to duplicate.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DuplicateNativeDashboardRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The dashboard name to duplicate.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DuplicateNativeDashboardRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The dashboard name to duplicate.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The dashboard name to duplicate.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DuplicateNativeDashboardRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The dashboard name to duplicate.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasNativeDashboard

      public boolean hasNativeDashboard()
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNativeDashboard in interface DuplicateNativeDashboardRequestOrBuilder
      Returns:
      Whether the nativeDashboard field is set.
    • getNativeDashboard

      public NativeDashboard getNativeDashboard()
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNativeDashboard in interface DuplicateNativeDashboardRequestOrBuilder
      Returns:
      The nativeDashboard.
    • setNativeDashboard

      public DuplicateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard value)
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • setNativeDashboard

      public DuplicateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard.Builder builderForValue)
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeNativeDashboard

      public DuplicateNativeDashboardRequest.Builder mergeNativeDashboard(NativeDashboard value)
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearNativeDashboard

      public DuplicateNativeDashboardRequest.Builder clearNativeDashboard()
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNativeDashboardBuilder

      public NativeDashboard.Builder getNativeDashboardBuilder()
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNativeDashboardOrBuilder

      public NativeDashboardOrBuilder getNativeDashboardOrBuilder()
       Required. Any fields that need modification can be passed through this like
       name, description etc.
       
      .google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNativeDashboardOrBuilder in interface DuplicateNativeDashboardRequestOrBuilder