Class SecurityProjection.Builder (2.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityProjection build()
Returns
TypeDescription
SecurityProjection

buildPartial()

public SecurityProjection buildPartial()
Returns
TypeDescription
SecurityProjection

clear()

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

clearDetails()

public SecurityProjection.Builder clearDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
SecurityProjection.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityProjection getDefaultInstanceForType()
Returns
TypeDescription
SecurityProjection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public Struct getDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
Struct

The details.

getDetailsBuilder()

public Struct.Builder getDetailsBuilder()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
Builder

getDetailsOrBuilder()

public StructOrBuilder getDetailsOrBuilder()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
StructOrBuilder

hasDetails()

public boolean hasDetails()

Additional security impact details that is provided by the recommender.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
boolean

Whether the details field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
SecurityProjection.Builder

mergeFrom(SecurityProjection other)

public SecurityProjection.Builder mergeFrom(SecurityProjection other)
Parameter
NameDescription
otherSecurityProjection
Returns
TypeDescription
SecurityProjection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityProjection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SecurityProjection.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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