Class UpdateDashboardRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateDashboardRequest.Builder>
com.google.monitoring.dashboard.v1.UpdateDashboardRequest.Builder
All Implemented Interfaces:
UpdateDashboardRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateDashboardRequest

public static final class UpdateDashboardRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDashboardRequest.Builder> implements UpdateDashboardRequestOrBuilder
 The `UpdateDashboard` request.
 
Protobuf type google.monitoring.dashboard.v1.UpdateDashboardRequest
  • 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<UpdateDashboardRequest.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<UpdateDashboardRequest.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<UpdateDashboardRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateDashboardRequest.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<UpdateDashboardRequest.Builder>
      Throws:
      IOException
    • hasDashboard

      public boolean hasDashboard()
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDashboard in interface UpdateDashboardRequestOrBuilder
      Returns:
      Whether the dashboard field is set.
    • getDashboard

      public Dashboard getDashboard()
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDashboard in interface UpdateDashboardRequestOrBuilder
      Returns:
      The dashboard.
    • setDashboard

      public UpdateDashboardRequest.Builder setDashboard(Dashboard value)
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDashboard

      public UpdateDashboardRequest.Builder setDashboard(Dashboard.Builder builderForValue)
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeDashboard

      public UpdateDashboardRequest.Builder mergeDashboard(Dashboard value)
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDashboard

      public UpdateDashboardRequest.Builder clearDashboard()
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDashboardBuilder

      public Dashboard.Builder getDashboardBuilder()
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDashboardOrBuilder

      public DashboardOrBuilder getDashboardOrBuilder()
       Required. The dashboard that will replace the existing dashboard.
       
      .google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDashboardOrBuilder in interface UpdateDashboardRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       If set, validate the request and preview the review, but do not actually
       save it.
       
      bool validate_only = 3;
      Specified by:
      getValidateOnly in interface UpdateDashboardRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdateDashboardRequest.Builder setValidateOnly(boolean value)
       If set, validate the request and preview the review, but do not actually
       save it.
       
      bool validate_only = 3;
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public UpdateDashboardRequest.Builder clearValidateOnly()
       If set, validate the request and preview the review, but do not actually
       save it.
       
      bool validate_only = 3;
      Returns:
      This builder for chaining.