Class InsightsConfig.Builder (0.24.0)

public static final class InsightsConfig.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllArtifactConfigs(Iterable<? extends ArtifactConfig> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.developerconnect.v1.ArtifactConfig>
Returns
Type Description
InsightsConfig.Builder

addAllErrors(Iterable<? extends Status> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
InsightsConfig.Builder

addAllRuntimeConfigs(Iterable<? extends RuntimeConfig> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.developerconnect.v1.RuntimeConfig>
Returns
Type Description
InsightsConfig.Builder

addArtifactConfigs(ArtifactConfig value)

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];

Parameter
Name Description
value ArtifactConfig
Returns
Type Description
InsightsConfig.Builder

addArtifactConfigs(ArtifactConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ArtifactConfig.Builder
Returns
Type Description
InsightsConfig.Builder

addArtifactConfigs(int index, ArtifactConfig value)

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];

Parameters
Name Description
index int
value ArtifactConfig
Returns
Type Description
InsightsConfig.Builder

addArtifactConfigs(int index, ArtifactConfig.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ArtifactConfig.Builder
Returns
Type Description
InsightsConfig.Builder

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];

Returns
Type Description
ArtifactConfig.Builder

addArtifactConfigsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ArtifactConfig.Builder

addErrors(Status value)

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];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
InsightsConfig.Builder

addErrors(Status.Builder builderForValue)

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];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
InsightsConfig.Builder

addErrors(int index, Status value)

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];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
InsightsConfig.Builder

addErrors(int index, Status.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
InsightsConfig.Builder

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];

Returns
Type Description
com.google.rpc.Status.Builder

addErrorsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InsightsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsightsConfig.Builder
Overrides

addRuntimeConfigs(RuntimeConfig value)

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];

Parameter
Name Description
value RuntimeConfig
Returns
Type Description
InsightsConfig.Builder

addRuntimeConfigs(RuntimeConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue RuntimeConfig.Builder
Returns
Type Description
InsightsConfig.Builder

addRuntimeConfigs(int index, RuntimeConfig value)

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];

Parameters
Name Description
index int
value RuntimeConfig
Returns
Type Description
InsightsConfig.Builder

addRuntimeConfigs(int index, RuntimeConfig.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue RuntimeConfig.Builder
Returns
Type Description
InsightsConfig.Builder

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];

Returns
Type Description
RuntimeConfig.Builder

addRuntimeConfigsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
RuntimeConfig.Builder

build()

public InsightsConfig build()
Returns
Type Description
InsightsConfig

buildPartial()

public InsightsConfig buildPartial()
Returns
Type Description
InsightsConfig

clear()

public InsightsConfig.Builder clear()
Returns
Type Description
InsightsConfig.Builder
Overrides

clearAnnotations()

public InsightsConfig.Builder clearAnnotations()
Returns
Type Description
InsightsConfig.Builder

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
Type Description
InsightsConfig.Builder

This builder for chaining.

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];

Returns
Type Description
InsightsConfig.Builder

clearCreateTime()

public InsightsConfig.Builder clearCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InsightsConfig.Builder

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];

Returns
Type Description
InsightsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public InsightsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InsightsConfig.Builder
Overrides

clearInsightsConfigContext()

public InsightsConfig.Builder clearInsightsConfigContext()
Returns
Type Description
InsightsConfig.Builder

clearLabels()

public InsightsConfig.Builder clearLabels()
Returns
Type Description
InsightsConfig.Builder

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
Type Description
InsightsConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InsightsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InsightsConfig.Builder
Overrides

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
Type Description
InsightsConfig.Builder

This builder for chaining.

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];

Returns
Type Description
InsightsConfig.Builder

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
Type Description
InsightsConfig.Builder

This builder for chaining.

clearUpdateTime()

public InsightsConfig.Builder clearUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InsightsConfig.Builder

clone()

public InsightsConfig.Builder clone()
Returns
Type Description
InsightsConfig.Builder
Overrides

containsAnnotations(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Set of labels associated with an InsightsConfig.

map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

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];

Returns
Type Description
int

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];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
String

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];

Returns
Type Description
String

The appHubApplication.

getAppHubApplicationBytes()

public 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];

Returns
Type Description
ByteString

The bytes for appHubApplication.

getArtifactConfigs(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ArtifactConfig

getArtifactConfigsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ArtifactConfig.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<ArtifactConfig>

getArtifactConfigsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ArtifactConfigOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.developerconnect.v1.ArtifactConfigOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public InsightsConfig getDefaultInstanceForType()
Returns
Type Description
InsightsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrors(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getErrorsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

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];

Returns
Type Description
List<com.google.rpc.Status.Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<com.google.rpc.Status>

getErrorsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

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];

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getInsightsConfigContextCase()

public InsightsConfig.InsightsConfigContextCase getInsightsConfigContextCase()
Returns
Type Description
InsightsConfig.InsightsConfigContextCase

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Set of labels associated with an InsightsConfig.

map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Set of labels associated with an InsightsConfig.

map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Set of labels associated with an InsightsConfig.

map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
boolean

The reconciling.

getRuntimeConfigs(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
RuntimeConfig

getRuntimeConfigsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
RuntimeConfig.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<RuntimeConfig>

getRuntimeConfigsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
RuntimeConfigOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.developerconnect.v1.RuntimeConfigOrBuilder>

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];

Returns
Type Description
InsightsConfig.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

Whether the appHubApplication field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public InsightsConfig.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightsConfig.Builder

mergeFrom(InsightsConfig other)

public InsightsConfig.Builder mergeFrom(InsightsConfig other)
Parameter
Name Description
other InsightsConfig
Returns
Type Description
InsightsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InsightsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InsightsConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InsightsConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InsightsConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InsightsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsightsConfig.Builder
Overrides

mergeUpdateTime(Timestamp value)

public InsightsConfig.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightsConfig.Builder

putAllAnnotations(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
InsightsConfig.Builder

putAllLabels(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
InsightsConfig.Builder

putAnnotations(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
InsightsConfig.Builder

putLabels(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
InsightsConfig.Builder

removeAnnotations(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
InsightsConfig.Builder

removeArtifactConfigs(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig.Builder

removeErrors(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig.Builder

removeLabels(String key)

public InsightsConfig.Builder removeLabels(String key)

Optional. Set of labels associated with an InsightsConfig.

map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
InsightsConfig.Builder

removeRuntimeConfigs(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig.Builder

setAppHubApplication(String value)

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];

Parameter
Name Description
value String

The appHubApplication to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setAppHubApplicationBytes(ByteString value)

public InsightsConfig.Builder setAppHubApplicationBytes(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];

Parameter
Name Description
value ByteString

The bytes for appHubApplication to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setArtifactConfigs(int index, ArtifactConfig value)

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];

Parameters
Name Description
index int
value ArtifactConfig
Returns
Type Description
InsightsConfig.Builder

setArtifactConfigs(int index, ArtifactConfig.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ArtifactConfig.Builder
Returns
Type Description
InsightsConfig.Builder

setCreateTime(Timestamp value)

public InsightsConfig.Builder setCreateTime(Timestamp value)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightsConfig.Builder

setCreateTime(Timestamp.Builder builderForValue)

public InsightsConfig.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InsightsConfig.Builder

setErrors(int index, Status value)

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];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
InsightsConfig.Builder

setErrors(int index, Status.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
InsightsConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InsightsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsightsConfig.Builder
Overrides

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InsightsConfig.Builder setNameBytes(ByteString value)

Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setReconciling(boolean value)

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];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InsightsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InsightsConfig.Builder
Overrides

setRuntimeConfigs(int index, RuntimeConfig value)

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];

Parameters
Name Description
index int
value RuntimeConfig
Returns
Type Description
InsightsConfig.Builder

setRuntimeConfigs(int index, RuntimeConfig.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue RuntimeConfig.Builder
Returns
Type Description
InsightsConfig.Builder

setState(InsightsConfig.State value)

public InsightsConfig.Builder setState(InsightsConfig.State value)

Optional. Output only. The state of the InsightsConfig.

.google.cloud.developerconnect.v1.InsightsConfig.State state = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value InsightsConfig.State

The state to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
InsightsConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InsightsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsightsConfig.Builder
Overrides

setUpdateTime(Timestamp value)

public InsightsConfig.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightsConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public InsightsConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InsightsConfig.Builder