Class PolicyViolationInfo.Builder (2.37.1)

public static final class PolicyViolationInfo.Builder extends GeneratedMessageV3.Builder<PolicyViolationInfo.Builder> implements PolicyViolationInfoOrBuilder

Information related to policy violations for this request.

Protobuf type google.cloud.audit.PolicyViolationInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PolicyViolationInfo build()
Returns
TypeDescription
PolicyViolationInfo

buildPartial()

public PolicyViolationInfo buildPartial()
Returns
TypeDescription
PolicyViolationInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrgPolicyViolationInfo()

public PolicyViolationInfo.Builder clearOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
TypeDescription
PolicyViolationInfo.Builder

clone()

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

getDefaultInstanceForType()

public PolicyViolationInfo getDefaultInstanceForType()
Returns
TypeDescription
PolicyViolationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOrgPolicyViolationInfo()

public OrgPolicyViolationInfo getOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
TypeDescription
OrgPolicyViolationInfo

The orgPolicyViolationInfo.

getOrgPolicyViolationInfoBuilder()

public OrgPolicyViolationInfo.Builder getOrgPolicyViolationInfoBuilder()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
TypeDescription
OrgPolicyViolationInfo.Builder

getOrgPolicyViolationInfoOrBuilder()

public OrgPolicyViolationInfoOrBuilder getOrgPolicyViolationInfoOrBuilder()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
TypeDescription
OrgPolicyViolationInfoOrBuilder

hasOrgPolicyViolationInfo()

public boolean hasOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
TypeDescription
boolean

Whether the orgPolicyViolationInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PolicyViolationInfo other)

public PolicyViolationInfo.Builder mergeFrom(PolicyViolationInfo other)
Parameter
NameDescription
otherPolicyViolationInfo
Returns
TypeDescription
PolicyViolationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOrgPolicyViolationInfo(OrgPolicyViolationInfo value)

public PolicyViolationInfo.Builder mergeOrgPolicyViolationInfo(OrgPolicyViolationInfo value)

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Parameter
NameDescription
valueOrgPolicyViolationInfo
Returns
TypeDescription
PolicyViolationInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyViolationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PolicyViolationInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrgPolicyViolationInfo(OrgPolicyViolationInfo value)

public PolicyViolationInfo.Builder setOrgPolicyViolationInfo(OrgPolicyViolationInfo value)

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Parameter
NameDescription
valueOrgPolicyViolationInfo
Returns
TypeDescription
PolicyViolationInfo.Builder

setOrgPolicyViolationInfo(OrgPolicyViolationInfo.Builder builderForValue)

public PolicyViolationInfo.Builder setOrgPolicyViolationInfo(OrgPolicyViolationInfo.Builder builderForValue)

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Parameter
NameDescription
builderForValueOrgPolicyViolationInfo.Builder
Returns
TypeDescription
PolicyViolationInfo.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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