Class CreateInsightsConfigRequest.Builder

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

public static final class CreateInsightsConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateInsightsConfigRequest.Builder> implements CreateInsightsConfigRequestOrBuilder
 Request for creating an InsightsConfig.
 
Protobuf type google.cloud.developerconnect.v1.CreateInsightsConfigRequest
  • 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<CreateInsightsConfigRequest.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<CreateInsightsConfigRequest.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<CreateInsightsConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

      public CreateInsightsConfigRequest.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<CreateInsightsConfigRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateInsightsConfigRequest.Builder setParent(String value)
       Required. Value for parent.
       
      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. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateInsightsConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Value for parent.
       
      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.
    • getInsightsConfigId

      public String getInsightsConfigId()
       Required. ID of the requesting InsightsConfig.
       
      string insights_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInsightsConfigId in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The insightsConfigId.
    • getInsightsConfigIdBytes

      public com.google.protobuf.ByteString getInsightsConfigIdBytes()
       Required. ID of the requesting InsightsConfig.
       
      string insights_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInsightsConfigIdBytes in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The bytes for insightsConfigId.
    • setInsightsConfigId

      public CreateInsightsConfigRequest.Builder setInsightsConfigId(String value)
       Required. ID of the requesting InsightsConfig.
       
      string insights_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The insightsConfigId to set.
      Returns:
      This builder for chaining.
    • clearInsightsConfigId

      public CreateInsightsConfigRequest.Builder clearInsightsConfigId()
       Required. ID of the requesting InsightsConfig.
       
      string insights_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInsightsConfigIdBytes

      public CreateInsightsConfigRequest.Builder setInsightsConfigIdBytes(com.google.protobuf.ByteString value)
       Required. ID of the requesting InsightsConfig.
       
      string insights_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for insightsConfigId to set.
      Returns:
      This builder for chaining.
    • hasInsightsConfig

      public boolean hasInsightsConfig()
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInsightsConfig in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      Whether the insightsConfig field is set.
    • getInsightsConfig

      public InsightsConfig getInsightsConfig()
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInsightsConfig in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The insightsConfig.
    • setInsightsConfig

      public CreateInsightsConfigRequest.Builder setInsightsConfig(InsightsConfig value)
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setInsightsConfig

      public CreateInsightsConfigRequest.Builder setInsightsConfig(InsightsConfig.Builder builderForValue)
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeInsightsConfig

      public CreateInsightsConfigRequest.Builder mergeInsightsConfig(InsightsConfig value)
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearInsightsConfig

      public CreateInsightsConfigRequest.Builder clearInsightsConfig()
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInsightsConfigBuilder

      public InsightsConfig.Builder getInsightsConfigBuilder()
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInsightsConfigOrBuilder

      public InsightsConfigOrBuilder getInsightsConfigOrBuilder()
       Required. The resource being created.
       
      .google.cloud.developerconnect.v1.InsightsConfig insights_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInsightsConfigOrBuilder in interface CreateInsightsConfigRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If set, validate the request, but do not actually post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface CreateInsightsConfigRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public CreateInsightsConfigRequest.Builder setValidateOnly(boolean value)
       Optional. If set, validate the request, but do not actually post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public CreateInsightsConfigRequest.Builder clearValidateOnly()
       Optional. If set, validate the request, but do not actually post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.