Class CalculateEffectiveSettingsRequest.Builder (0.31.0)

public static final class CalculateEffectiveSettingsRequest.Builder extends GeneratedMessageV3.Builder<CalculateEffectiveSettingsRequest.Builder> implements CalculateEffectiveSettingsRequestOrBuilder

Request message for CalculateEffectiveSettings.

Protobuf type google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CalculateEffectiveSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

build()

public CalculateEffectiveSettingsRequest build()
Returns
TypeDescription
CalculateEffectiveSettingsRequest

buildPartial()

public CalculateEffectiveSettingsRequest buildPartial()
Returns
TypeDescription
CalculateEffectiveSettingsRequest

clear()

public CalculateEffectiveSettingsRequest.Builder clear()
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CalculateEffectiveSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

clearName()

public CalculateEffectiveSettingsRequest.Builder clearName()

Required. The name of the effective settings to retrieve. Formats:

  • organizations/{organization}/effectiveSettings
  • folders/{folder}/effectiveSettings
  • projects/{project}/effectiveSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings
  • projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings
  • projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateEffectiveSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

clone()

public CalculateEffectiveSettingsRequest.Builder clone()
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public CalculateEffectiveSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
CalculateEffectiveSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the effective settings to retrieve. Formats:

  • organizations/{organization}/effectiveSettings
  • folders/{folder}/effectiveSettings
  • projects/{project}/effectiveSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings
  • projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings
  • projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the effective settings to retrieve. Formats:

  • organizations/{organization}/effectiveSettings
  • folders/{folder}/effectiveSettings
  • projects/{project}/effectiveSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings
  • projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings
  • projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CalculateEffectiveSettingsRequest other)

public CalculateEffectiveSettingsRequest.Builder mergeFrom(CalculateEffectiveSettingsRequest other)
Parameter
NameDescription
otherCalculateEffectiveSettingsRequest
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CalculateEffectiveSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CalculateEffectiveSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateEffectiveSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateEffectiveSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

setName(String value)

public CalculateEffectiveSettingsRequest.Builder setName(String value)

Required. The name of the effective settings to retrieve. Formats:

  • organizations/{organization}/effectiveSettings
  • folders/{folder}/effectiveSettings
  • projects/{project}/effectiveSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings
  • projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings
  • projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CalculateEffectiveSettingsRequest.Builder setNameBytes(ByteString value)

Required. The name of the effective settings to retrieve. Formats:

  • organizations/{organization}/effectiveSettings
  • folders/{folder}/effectiveSettings
  • projects/{project}/effectiveSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings
  • projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings
  • projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder

This builder for chaining.

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

public CalculateEffectiveSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateEffectiveSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateEffectiveSettingsRequest.Builder
Overrides