Class IntelligenceConfig.Builder (2.62.1)

public static final class IntelligenceConfig.Builder extends GeneratedMessage.Builder<IntelligenceConfig.Builder> implements IntelligenceConfigOrBuilder

The IntelligenceConfig resource associated with your organization, folder, or project.

Protobuf type google.storage.control.v2.IntelligenceConfig

Static Methods

getDescriptor()

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

Methods

build()

public IntelligenceConfig build()
Returns
Type Description
IntelligenceConfig

buildPartial()

public IntelligenceConfig buildPartial()
Returns
Type Description
IntelligenceConfig

clear()

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

clearEditionConfig()

public IntelligenceConfig.Builder clearEditionConfig()

Optional. The edition configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.EditionConfig edition_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

clearEffectiveIntelligenceConfig()

public IntelligenceConfig.Builder clearEffectiveIntelligenceConfig()

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceConfig.Builder

clearFilter()

public IntelligenceConfig.Builder clearFilter()

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.Builder

clearName()

public IntelligenceConfig.Builder clearName()

Identifier. The name of the IntelligenceConfig resource associated with your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

  • For project: projects/{project_number}/locations/global/intelligenceConfig
  • For organization: organizations/{org_id}/locations/global/intelligenceConfig
  • For folder: folders/{folder_id}/locations/global/intelligenceConfig

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

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

clearTrialConfig()

public IntelligenceConfig.Builder clearTrialConfig()

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Returns
Type Description
IntelligenceConfig.Builder

clearUpdateTime()

public IntelligenceConfig.Builder clearUpdateTime()

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Returns
Type Description
IntelligenceConfig.Builder

getDefaultInstanceForType()

public IntelligenceConfig getDefaultInstanceForType()
Returns
Type Description
IntelligenceConfig

getDescriptorForType()

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

getEditionConfig()

public IntelligenceConfig.EditionConfig getEditionConfig()

Optional. The edition configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.EditionConfig edition_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.EditionConfig

The editionConfig.

getEditionConfigValue()

public int getEditionConfigValue()

Optional. The edition configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.EditionConfig edition_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for editionConfig.

getEffectiveIntelligenceConfig()

public IntelligenceConfig.EffectiveIntelligenceConfig getEffectiveIntelligenceConfig()

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceConfig.EffectiveIntelligenceConfig

The effectiveIntelligenceConfig.

getEffectiveIntelligenceConfigBuilder()

public IntelligenceConfig.EffectiveIntelligenceConfig.Builder getEffectiveIntelligenceConfigBuilder()

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceConfig.EffectiveIntelligenceConfig.Builder

getEffectiveIntelligenceConfigOrBuilder()

public IntelligenceConfig.EffectiveIntelligenceConfigOrBuilder getEffectiveIntelligenceConfigOrBuilder()

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceConfig.EffectiveIntelligenceConfigOrBuilder

getFilter()

public IntelligenceConfig.Filter getFilter()

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.Filter

The filter.

getFilterBuilder()

public IntelligenceConfig.Filter.Builder getFilterBuilder()

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.Filter.Builder

getFilterOrBuilder()

public IntelligenceConfig.FilterOrBuilder getFilterOrBuilder()

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IntelligenceConfig.FilterOrBuilder

getName()

public String getName()

Identifier. The name of the IntelligenceConfig resource associated with your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

  • For project: projects/{project_number}/locations/global/intelligenceConfig
  • For organization: organizations/{org_id}/locations/global/intelligenceConfig
  • For folder: folders/{folder_id}/locations/global/intelligenceConfig

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the IntelligenceConfig resource associated with your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

  • For project: projects/{project_number}/locations/global/intelligenceConfig
  • For organization: organizations/{org_id}/locations/global/intelligenceConfig
  • For folder: folders/{folder_id}/locations/global/intelligenceConfig

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

Returns
Type Description
ByteString

The bytes for name.

getTrialConfig()

public IntelligenceConfig.TrialConfig getTrialConfig()

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Returns
Type Description
IntelligenceConfig.TrialConfig

The trialConfig.

getTrialConfigBuilder()

public IntelligenceConfig.TrialConfig.Builder getTrialConfigBuilder()

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Returns
Type Description
IntelligenceConfig.TrialConfig.Builder

getTrialConfigOrBuilder()

public IntelligenceConfig.TrialConfigOrBuilder getTrialConfigOrBuilder()

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Returns
Type Description
IntelligenceConfig.TrialConfigOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which the IntelligenceConfig resource is last updated.

.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. The time at which the IntelligenceConfig resource is last updated.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Returns
Type Description
TimestampOrBuilder

hasEffectiveIntelligenceConfig()

public boolean hasEffectiveIntelligenceConfig()

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the effectiveIntelligenceConfig field is set.

hasFilter()

public boolean hasFilter()

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the filter field is set.

hasTrialConfig()

public boolean hasTrialConfig()

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Returns
Type Description
boolean

Whether the trialConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig value)

public IntelligenceConfig.Builder mergeEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig value)

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceConfig.EffectiveIntelligenceConfig
Returns
Type Description
IntelligenceConfig.Builder

mergeFilter(IntelligenceConfig.Filter value)

public IntelligenceConfig.Builder mergeFilter(IntelligenceConfig.Filter value)

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IntelligenceConfig.Filter
Returns
Type Description
IntelligenceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IntelligenceConfig other)

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

mergeTrialConfig(IntelligenceConfig.TrialConfig value)

public IntelligenceConfig.Builder mergeTrialConfig(IntelligenceConfig.TrialConfig value)

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Parameter
Name Description
value IntelligenceConfig.TrialConfig
Returns
Type Description
IntelligenceConfig.Builder

mergeUpdateTime(Timestamp value)

public IntelligenceConfig.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceConfig.Builder

setEditionConfig(IntelligenceConfig.EditionConfig value)

public IntelligenceConfig.Builder setEditionConfig(IntelligenceConfig.EditionConfig value)

Optional. The edition configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.EditionConfig edition_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IntelligenceConfig.EditionConfig

The editionConfig to set.

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

setEditionConfigValue(int value)

public IntelligenceConfig.Builder setEditionConfigValue(int value)

Optional. The edition configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.EditionConfig edition_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

setEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig value)

public IntelligenceConfig.Builder setEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig value)

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceConfig.EffectiveIntelligenceConfig
Returns
Type Description
IntelligenceConfig.Builder

setEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig.Builder builderForValue)

public IntelligenceConfig.Builder setEffectiveIntelligenceConfig(IntelligenceConfig.EffectiveIntelligenceConfig.Builder builderForValue)

Output only. The IntelligenceConfig resource that is applicable for the resource.

.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig effective_intelligence_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceConfig.EffectiveIntelligenceConfig.Builder
Returns
Type Description
IntelligenceConfig.Builder

setFilter(IntelligenceConfig.Filter value)

public IntelligenceConfig.Builder setFilter(IntelligenceConfig.Filter value)

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IntelligenceConfig.Filter
Returns
Type Description
IntelligenceConfig.Builder

setFilter(IntelligenceConfig.Filter.Builder builderForValue)

public IntelligenceConfig.Builder setFilter(IntelligenceConfig.Filter.Builder builderForValue)

Optional. Filter over location and bucket.

.google.storage.control.v2.IntelligenceConfig.Filter filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IntelligenceConfig.Filter.Builder
Returns
Type Description
IntelligenceConfig.Builder

setName(String value)

public IntelligenceConfig.Builder setName(String value)

Identifier. The name of the IntelligenceConfig resource associated with your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

  • For project: projects/{project_number}/locations/global/intelligenceConfig
  • For organization: organizations/{org_id}/locations/global/intelligenceConfig
  • For folder: folders/{folder_id}/locations/global/intelligenceConfig

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IntelligenceConfig.Builder setNameBytes(ByteString value)

Identifier. The name of the IntelligenceConfig resource associated with your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

  • For project: projects/{project_number}/locations/global/intelligenceConfig
  • For organization: organizations/{org_id}/locations/global/intelligenceConfig
  • For folder: folders/{folder_id}/locations/global/intelligenceConfig

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
IntelligenceConfig.Builder

This builder for chaining.

setTrialConfig(IntelligenceConfig.TrialConfig value)

public IntelligenceConfig.Builder setTrialConfig(IntelligenceConfig.TrialConfig value)

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Parameter
Name Description
value IntelligenceConfig.TrialConfig
Returns
Type Description
IntelligenceConfig.Builder

setTrialConfig(IntelligenceConfig.TrialConfig.Builder builderForValue)

public IntelligenceConfig.Builder setTrialConfig(IntelligenceConfig.TrialConfig.Builder builderForValue)

The trial configuration of the IntelligenceConfig resource.

.google.storage.control.v2.IntelligenceConfig.TrialConfig trial_config = 7;

Parameter
Name Description
builderForValue IntelligenceConfig.TrialConfig.Builder
Returns
Type Description
IntelligenceConfig.Builder

setUpdateTime(Timestamp value)

public IntelligenceConfig.Builder setUpdateTime(Timestamp value)

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public IntelligenceConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which the IntelligenceConfig resource is last updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IntelligenceConfig.Builder