Class SecurityProjection.Builder (2.5.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.v1beta1.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()

This field can be used by the recommender to define details specific to security impact.

.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()

This field can be used by the recommender to define details specific to security impact.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
Struct

The details.

getDetailsBuilder()

public Struct.Builder getDetailsBuilder()

This field can be used by the recommender to define details specific to security impact.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
Builder

getDetailsOrBuilder()

public StructOrBuilder getDetailsOrBuilder()

This field can be used by the recommender to define details specific to security impact.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
StructOrBuilder

hasDetails()

public boolean hasDetails()

This field can be used by the recommender to define details specific to security impact.

.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)

This field can be used by the recommender to define details specific to security impact.

.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)

This field can be used by the recommender to define details specific to security impact.

.google.protobuf.Struct details = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SecurityProjection.Builder

setDetails(Struct.Builder builderForValue)

public SecurityProjection.Builder setDetails(Struct.Builder builderForValue)

This field can be used by the recommender to define details specific to security impact.

.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