Class InsightsConfig.Builder

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

public static final class InsightsConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<InsightsConfig.Builder> implements InsightsConfigOrBuilder
 The InsightsConfig resource is the core configuration object to capture
 events from your Software Development Lifecycle. It acts as the central hub
 for managing how Developer Connect understands your application, its runtime
 environments, and the artifacts deployed within them.
 
Protobuf type google.cloud.developerconnect.v1.InsightsConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InsightsConfig.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InsightsConfig.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InsightsConfig.Builder>
    • clear

      public InsightsConfig.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<InsightsConfig.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<InsightsConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public InsightsConfig.Builder mergeFrom(InsightsConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InsightsConfig.Builder>
    • mergeFrom

      public InsightsConfig.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<InsightsConfig.Builder>
      Throws:
      IOException
    • getInsightsConfigContextCase

      public InsightsConfig.InsightsConfigContextCase getInsightsConfigContextCase()
      Specified by:
      getInsightsConfigContextCase in interface InsightsConfigOrBuilder
    • clearInsightsConfigContext

      public InsightsConfig.Builder clearInsightsConfigContext()
    • hasAppHubApplication

      public boolean hasAppHubApplication()
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAppHubApplication in interface InsightsConfigOrBuilder
      Returns:
      Whether the appHubApplication field is set.
    • getAppHubApplication

      public String getAppHubApplication()
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAppHubApplication in interface InsightsConfigOrBuilder
      Returns:
      The appHubApplication.
    • getAppHubApplicationBytes

      public com.google.protobuf.ByteString getAppHubApplicationBytes()
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAppHubApplicationBytes in interface InsightsConfigOrBuilder
      Returns:
      The bytes for appHubApplication.
    • setAppHubApplication

      public InsightsConfig.Builder setAppHubApplication(String value)
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The appHubApplication to set.
      Returns:
      This builder for chaining.
    • clearAppHubApplication

      public InsightsConfig.Builder clearAppHubApplication()
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setAppHubApplicationBytes

      public InsightsConfig.Builder setAppHubApplicationBytes(com.google.protobuf.ByteString value)
       Optional. The name of the App Hub Application.
       Format:
       projects/{project}/locations/{location}/applications/{application}
       
      string app_hub_application = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for appHubApplication to set.
      Returns:
      This builder for chaining.
    • hasProjects

      public boolean hasProjects()
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProjects in interface InsightsConfigOrBuilder
      Returns:
      Whether the projects field is set.
    • getProjects

      public Projects getProjects()
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProjects in interface InsightsConfigOrBuilder
      Returns:
      The projects.
    • setProjects

      public InsightsConfig.Builder setProjects(Projects value)
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setProjects

      public InsightsConfig.Builder setProjects(Projects.Builder builderForValue)
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProjects

      public InsightsConfig.Builder mergeProjects(Projects value)
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearProjects

      public InsightsConfig.Builder clearProjects()
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getProjectsBuilder

      public Projects.Builder getProjectsBuilder()
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getProjectsOrBuilder

      public ProjectsOrBuilder getProjectsOrBuilder()
       Optional. The projects to track with the InsightsConfig.
       
      .google.cloud.developerconnect.v1.Projects projects = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProjectsOrBuilder in interface InsightsConfigOrBuilder
    • getName

      public String getName()
       Identifier. The name of the InsightsConfig.
       Format:
       projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface InsightsConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the InsightsConfig.
       Format:
       projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface InsightsConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public InsightsConfig.Builder setName(String value)
       Identifier. The name of the InsightsConfig.
       Format:
       projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public InsightsConfig.Builder clearName()
       Identifier. The name of the InsightsConfig.
       Format:
       projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public InsightsConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the InsightsConfig.
       Format:
       projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface InsightsConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface InsightsConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public InsightsConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public InsightsConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public InsightsConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public InsightsConfig.Builder clearCreateTime()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface InsightsConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InsightsConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface InsightsConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public InsightsConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public InsightsConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public InsightsConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public InsightsConfig.Builder clearUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InsightsConfigOrBuilder
    • getRuntimeConfigsList

      public List<RuntimeConfig> getRuntimeConfigsList()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigsList in interface InsightsConfigOrBuilder
    • getRuntimeConfigsCount

      public int getRuntimeConfigsCount()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigsCount in interface InsightsConfigOrBuilder
    • getRuntimeConfigs

      public RuntimeConfig getRuntimeConfigs(int index)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigs in interface InsightsConfigOrBuilder
    • setRuntimeConfigs

      public InsightsConfig.Builder setRuntimeConfigs(int index, RuntimeConfig value)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRuntimeConfigs

      public InsightsConfig.Builder setRuntimeConfigs(int index, RuntimeConfig.Builder builderForValue)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRuntimeConfigs

      public InsightsConfig.Builder addRuntimeConfigs(RuntimeConfig value)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRuntimeConfigs

      public InsightsConfig.Builder addRuntimeConfigs(int index, RuntimeConfig value)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRuntimeConfigs

      public InsightsConfig.Builder addRuntimeConfigs(RuntimeConfig.Builder builderForValue)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRuntimeConfigs

      public InsightsConfig.Builder addRuntimeConfigs(int index, RuntimeConfig.Builder builderForValue)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllRuntimeConfigs

      public InsightsConfig.Builder addAllRuntimeConfigs(Iterable<? extends RuntimeConfig> values)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRuntimeConfigs

      public InsightsConfig.Builder clearRuntimeConfigs()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeRuntimeConfigs

      public InsightsConfig.Builder removeRuntimeConfigs(int index)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRuntimeConfigsBuilder

      public RuntimeConfig.Builder getRuntimeConfigsBuilder(int index)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRuntimeConfigsOrBuilder

      public RuntimeConfigOrBuilder getRuntimeConfigsOrBuilder(int index)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigsOrBuilder in interface InsightsConfigOrBuilder
    • getRuntimeConfigsOrBuilderList

      public List<? extends RuntimeConfigOrBuilder> getRuntimeConfigsOrBuilderList()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigsOrBuilderList in interface InsightsConfigOrBuilder
    • addRuntimeConfigsBuilder

      public RuntimeConfig.Builder addRuntimeConfigsBuilder()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRuntimeConfigsBuilder

      public RuntimeConfig.Builder addRuntimeConfigsBuilder(int index)
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRuntimeConfigsBuilderList

      public List<RuntimeConfig.Builder> getRuntimeConfigsBuilderList()
       Output only. The runtime configurations where the application is deployed.
       
      repeated .google.cloud.developerconnect.v1.RuntimeConfig runtime_configs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getArtifactConfigsList

      public List<ArtifactConfig> getArtifactConfigsList()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactConfigsList in interface InsightsConfigOrBuilder
    • getArtifactConfigsCount

      public int getArtifactConfigsCount()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactConfigsCount in interface InsightsConfigOrBuilder
    • getArtifactConfigs

      public ArtifactConfig getArtifactConfigs(int index)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactConfigs in interface InsightsConfigOrBuilder
    • setArtifactConfigs

      public InsightsConfig.Builder setArtifactConfigs(int index, ArtifactConfig value)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setArtifactConfigs

      public InsightsConfig.Builder setArtifactConfigs(int index, ArtifactConfig.Builder builderForValue)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addArtifactConfigs

      public InsightsConfig.Builder addArtifactConfigs(ArtifactConfig value)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addArtifactConfigs

      public InsightsConfig.Builder addArtifactConfigs(int index, ArtifactConfig value)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addArtifactConfigs

      public InsightsConfig.Builder addArtifactConfigs(ArtifactConfig.Builder builderForValue)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addArtifactConfigs

      public InsightsConfig.Builder addArtifactConfigs(int index, ArtifactConfig.Builder builderForValue)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAllArtifactConfigs

      public InsightsConfig.Builder addAllArtifactConfigs(Iterable<? extends ArtifactConfig> values)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearArtifactConfigs

      public InsightsConfig.Builder clearArtifactConfigs()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • removeArtifactConfigs

      public InsightsConfig.Builder removeArtifactConfigs(int index)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getArtifactConfigsBuilder

      public ArtifactConfig.Builder getArtifactConfigsBuilder(int index)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getArtifactConfigsOrBuilder

      public ArtifactConfigOrBuilder getArtifactConfigsOrBuilder(int index)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactConfigsOrBuilder in interface InsightsConfigOrBuilder
    • getArtifactConfigsOrBuilderList

      public List<? extends ArtifactConfigOrBuilder> getArtifactConfigsOrBuilderList()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getArtifactConfigsOrBuilderList in interface InsightsConfigOrBuilder
    • addArtifactConfigsBuilder

      public ArtifactConfig.Builder addArtifactConfigsBuilder()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addArtifactConfigsBuilder

      public ArtifactConfig.Builder addArtifactConfigsBuilder(int index)
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getArtifactConfigsBuilderList

      public List<ArtifactConfig.Builder> getArtifactConfigsBuilderList()
       Optional. The artifact configurations of the artifacts that are deployed.
       
      repeated .google.cloud.developerconnect.v1.ArtifactConfig artifact_configs = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getStateValue

      public int getStateValue()
       Optional. Output only. The state of the InsightsConfig.
       
      .google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStateValue in interface InsightsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public InsightsConfig.Builder setStateValue(int value)
       Optional. Output only. The state of the InsightsConfig.
       
      .google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public InsightsConfig.State getState()
       Optional. Output only. The state of the InsightsConfig.
       
      .google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getState in interface InsightsConfigOrBuilder
      Returns:
      The state.
    • setState

       Optional. Output only. The state of the InsightsConfig.
       
      .google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public InsightsConfig.Builder clearState()
       Optional. Output only. The state of the InsightsConfig.
       
      .google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: InsightsConfigOrBuilder
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface InsightsConfigOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface InsightsConfigOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface InsightsConfigOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface InsightsConfigOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface InsightsConfigOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface InsightsConfigOrBuilder
    • clearAnnotations

      public InsightsConfig.Builder clearAnnotations()
    • removeAnnotations

      public InsightsConfig.Builder removeAnnotations(String key)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public InsightsConfig.Builder putAnnotations(String key, String value)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public InsightsConfig.Builder putAllAnnotations(Map<String,String> values)
       Optional. User specified annotations. See
       https://google.aip.dev/148#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InsightsConfigOrBuilder
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface InsightsConfigOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface InsightsConfigOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InsightsConfigOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface InsightsConfigOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface InsightsConfigOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface InsightsConfigOrBuilder
    • clearLabels

      public InsightsConfig.Builder clearLabels()
    • removeLabels

      public InsightsConfig.Builder removeLabels(String key)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public InsightsConfig.Builder putLabels(String key, String value)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public InsightsConfig.Builder putAllLabels(Map<String,String> values)
       Optional. Set of labels associated with an InsightsConfig.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getReconciling

      public boolean getReconciling()
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of InsightsConfig does not match the
       user's intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReconciling in interface InsightsConfigOrBuilder
      Returns:
      The reconciling.
    • setReconciling

      public InsightsConfig.Builder setReconciling(boolean value)
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of InsightsConfig does not match the
       user's intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The reconciling to set.
      Returns:
      This builder for chaining.
    • clearReconciling

      public InsightsConfig.Builder clearReconciling()
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of InsightsConfig does not match the
       user's intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getErrorsList

      public List<Status> getErrorsList()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsList in interface InsightsConfigOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsCount in interface InsightsConfigOrBuilder
    • getErrors

      public Status getErrors(int index)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrors in interface InsightsConfigOrBuilder
    • setErrors

      public InsightsConfig.Builder setErrors(int index, Status value)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setErrors

      public InsightsConfig.Builder setErrors(int index, Status.Builder builderForValue)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public InsightsConfig.Builder addErrors(Status value)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public InsightsConfig.Builder addErrors(int index, Status value)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public InsightsConfig.Builder addErrors(Status.Builder builderForValue)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public InsightsConfig.Builder addErrors(int index, Status.Builder builderForValue)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllErrors

      public InsightsConfig.Builder addAllErrors(Iterable<? extends Status> values)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearErrors

      public InsightsConfig.Builder clearErrors()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeErrors

      public InsightsConfig.Builder removeErrors(int index)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsBuilder

      public Status.Builder getErrorsBuilder(int index)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilder

      public StatusOrBuilder getErrorsOrBuilder(int index)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsOrBuilder in interface InsightsConfigOrBuilder
    • getErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsOrBuilderList in interface InsightsConfigOrBuilder
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder(int index)
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsBuilderList

      public List<Status.Builder> getErrorsBuilderList()
       Output only. Any errors that occurred while setting up the InsightsConfig.
       Each error will be in the format: `field_name: error_message`, e.g.
       GetAppHubApplication: Permission denied while getting App Hub
       application. Please grant permissions to the P4SA.
       
      repeated .google.rpc.Status errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];