Class AuditScopeReport.Builder (0.3.0)

public static final class AuditScopeReport.Builder extends GeneratedMessage.Builder<AuditScopeReport.Builder> implements AuditScopeReportOrBuilder

The audit scope report.

Protobuf type google.cloud.auditmanager.v1.AuditScopeReport

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AuditScopeReport build()
Returns
Type Description
AuditScopeReport

buildPartial()

public AuditScopeReport buildPartial()
Returns
Type Description
AuditScopeReport

clear()

public AuditScopeReport.Builder clear()
Returns
Type Description
AuditScopeReport.Builder
Overrides

clearAuditReport()

public AuditScopeReport.Builder clearAuditReport()
Returns
Type Description
AuditScopeReport.Builder

clearName()

public AuditScopeReport.Builder clearName()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 2 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AuditScopeReport.Builder

This builder for chaining.

clearScopeReportContents()

public AuditScopeReport.Builder clearScopeReportContents()

The audit scope report content in byte format.

bytes scope_report_contents = 1;

Returns
Type Description
AuditScopeReport.Builder

This builder for chaining.

getAuditReportCase()

public AuditScopeReport.AuditReportCase getAuditReportCase()
Returns
Type Description
AuditScopeReport.AuditReportCase

getDefaultInstanceForType()

public AuditScopeReport getDefaultInstanceForType()
Returns
Type Description
AuditScopeReport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 2 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 2 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getScopeReportContents()

public ByteString getScopeReportContents()

The audit scope report content in byte format.

bytes scope_report_contents = 1;

Returns
Type Description
ByteString

The scopeReportContents.

hasScopeReportContents()

public boolean hasScopeReportContents()

The audit scope report content in byte format.

bytes scope_report_contents = 1;

Returns
Type Description
boolean

Whether the scopeReportContents field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuditScopeReport other)

public AuditScopeReport.Builder mergeFrom(AuditScopeReport other)
Parameter
Name Description
other AuditScopeReport
Returns
Type Description
AuditScopeReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuditScopeReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditScopeReport.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuditScopeReport.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuditScopeReport.Builder
Overrides

setName(String value)

public AuditScopeReport.Builder setName(String value)

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 2 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AuditScopeReport.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AuditScopeReport.Builder setNameBytes(ByteString value)

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 2 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AuditScopeReport.Builder

This builder for chaining.

setScopeReportContents(ByteString value)

public AuditScopeReport.Builder setScopeReportContents(ByteString value)

The audit scope report content in byte format.

bytes scope_report_contents = 1;

Parameter
Name Description
value ByteString

The scopeReportContents to set.

Returns
Type Description
AuditScopeReport.Builder

This builder for chaining.