Class SecurityProjection.Builder (2.56.0)

public static final class SecurityProjection.Builder extends GeneratedMessageV3.Builder<SecurityProjection.Builder> implements SecurityProjectionOrBuilder

Contains various ways of describing the impact on Security.

Protobuf type google.cloud.recommender.v1.SecurityProjection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityProjection build()
Returns
Type Description
SecurityProjection

buildPartial()

public SecurityProjection buildPartial()
Returns
Type Description
SecurityProjection

clear()

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

clearDetails()

public SecurityProjection.Builder clearDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
Type Description
SecurityProjection.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityProjection getDefaultInstanceForType()
Returns
Type Description
SecurityProjection

getDescriptorForType()

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

getDetails()

public Struct getDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
Type Description
Struct

The details.

getDetailsBuilder()

public Struct.Builder getDetailsBuilder()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
Type Description
Builder

getDetailsOrBuilder()

public StructOrBuilder getDetailsOrBuilder()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
Type Description
StructOrBuilder

hasDetails()

public boolean hasDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
Type Description
boolean

Whether the details field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDetails(Struct value)

public SecurityProjection.Builder mergeDetails(Struct value)

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Parameter
Name Description
value Struct
Returns
Type Description
SecurityProjection.Builder

mergeFrom(SecurityProjection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDetails(Struct value)

public SecurityProjection.Builder setDetails(Struct value)

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Parameter
Name Description
value Struct
Returns
Type Description
SecurityProjection.Builder

setDetails(Struct.Builder builderForValue)

public SecurityProjection.Builder setDetails(Struct.Builder builderForValue)

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SecurityProjection.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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