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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityProjection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityProjection build()
Returns
buildPartial()
public SecurityProjection buildPartial()
Returns
clear()
public SecurityProjection.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public SecurityProjection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityProjection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityProjection.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SecurityProjection getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
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
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
Type | Description |
boolean | Whether the details field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(SecurityProjection other)
public SecurityProjection.Builder mergeFrom(SecurityProjection other)
Parameter
Returns
public SecurityProjection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityProjection.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityProjection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityProjection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityProjection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityProjection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides