public static final class ObservationDetails.Builder extends GeneratedMessageV3.Builder<ObservationDetails.Builder> implements ObservationDetailsOrBuilderThe observation details for a finding.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ObservationDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ObservationDetails.BuilderImplements
ObservationDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObservationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
build()
public ObservationDetails build()| Returns | |
|---|---|
| Type | Description |
ObservationDetails |
|
buildPartial()
public ObservationDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
ObservationDetails |
|
clear()
public ObservationDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
clearCurrentValue()
public ObservationDetails.Builder clearCurrentValue()Output only. The current value.
string current_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
clearExpectedValue()
public ObservationDetails.Builder clearExpectedValue()Optional. The expected value.
string expected_value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ObservationDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
clearGuidance()
public ObservationDetails.Builder clearGuidance()Output only. Any guidance for the observation.
string guidance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ObservationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
clone()
public ObservationDetails.Builder clone()| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
getCurrentValue()
public String getCurrentValue()Output only. The current value.
string current_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The currentValue. |
getCurrentValueBytes()
public ByteString getCurrentValueBytes()Output only. The current value.
string current_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentValue. |
getDefaultInstanceForType()
public ObservationDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ObservationDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpectedValue()
public String getExpectedValue()Optional. The expected value.
string expected_value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The expectedValue. |
getExpectedValueBytes()
public ByteString getExpectedValueBytes()Optional. The expected value.
string expected_value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for expectedValue. |
getGuidance()
public String getGuidance()Output only. Any guidance for the observation.
string guidance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The guidance. |
getGuidanceBytes()
public ByteString getGuidanceBytes()Output only. Any guidance for the observation.
string guidance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for guidance. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ObservationDetails other)
public ObservationDetails.Builder mergeFrom(ObservationDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
ObservationDetails |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObservationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ObservationDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObservationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
setCurrentValue(String value)
public ObservationDetails.Builder setCurrentValue(String value)Output only. The current value.
string current_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentValue to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setCurrentValueBytes(ByteString value)
public ObservationDetails.Builder setCurrentValueBytes(ByteString value)Output only. The current value.
string current_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for currentValue to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setExpectedValue(String value)
public ObservationDetails.Builder setExpectedValue(String value)Optional. The expected value.
string expected_value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe expectedValue to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setExpectedValueBytes(ByteString value)
public ObservationDetails.Builder setExpectedValueBytes(ByteString value)Optional. The expected value.
string expected_value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for expectedValue to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ObservationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
setGuidance(String value)
public ObservationDetails.Builder setGuidance(String value)Output only. Any guidance for the observation.
string guidance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe guidance to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setGuidanceBytes(ByteString value)
public ObservationDetails.Builder setGuidanceBytes(ByteString value)Output only. Any guidance for the observation.
string guidance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for guidance to set. |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObservationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ObservationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ObservationDetails.Builder |
|