Class EnrollResourceRequest.EligibleDestination.Builder (0.3.0)

public static final class EnrollResourceRequest.EligibleDestination.Builder extends GeneratedMessage.Builder<EnrollResourceRequest.EligibleDestination.Builder> implements EnrollResourceRequest.EligibleDestinationOrBuilder

The destination details where the audit report must be uploaded.

Protobuf type google.cloud.auditmanager.v1.EnrollResourceRequest.EligibleDestination

Static Methods

getDescriptor()

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

Methods

build()

public EnrollResourceRequest.EligibleDestination build()
Returns
Type Description
EnrollResourceRequest.EligibleDestination

buildPartial()

public EnrollResourceRequest.EligibleDestination buildPartial()
Returns
Type Description
EnrollResourceRequest.EligibleDestination

clear()

public EnrollResourceRequest.EligibleDestination.Builder clear()
Returns
Type Description
EnrollResourceRequest.EligibleDestination.Builder
Overrides

clearEligibleDestinations()

public EnrollResourceRequest.EligibleDestination.Builder clearEligibleDestinations()
Returns
Type Description
EnrollResourceRequest.EligibleDestination.Builder

clearEligibleGcsBucket()

public EnrollResourceRequest.EligibleDestination.Builder clearEligibleGcsBucket()

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Returns
Type Description
EnrollResourceRequest.EligibleDestination.Builder

This builder for chaining.

getDefaultInstanceForType()

public EnrollResourceRequest.EligibleDestination getDefaultInstanceForType()
Returns
Type Description
EnrollResourceRequest.EligibleDestination

getDescriptorForType()

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

getEligibleDestinationsCase()

public EnrollResourceRequest.EligibleDestination.EligibleDestinationsCase getEligibleDestinationsCase()
Returns
Type Description
EnrollResourceRequest.EligibleDestination.EligibleDestinationsCase

getEligibleGcsBucket()

public String getEligibleGcsBucket()

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Returns
Type Description
String

The eligibleGcsBucket.

getEligibleGcsBucketBytes()

public ByteString getEligibleGcsBucketBytes()

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Returns
Type Description
ByteString

The bytes for eligibleGcsBucket.

hasEligibleGcsBucket()

public boolean hasEligibleGcsBucket()

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Returns
Type Description
boolean

Whether the eligibleGcsBucket field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnrollResourceRequest.EligibleDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEligibleGcsBucket(String value)

public EnrollResourceRequest.EligibleDestination.Builder setEligibleGcsBucket(String value)

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Parameter
Name Description
value String

The eligibleGcsBucket to set.

Returns
Type Description
EnrollResourceRequest.EligibleDestination.Builder

This builder for chaining.

setEligibleGcsBucketBytes(ByteString value)

public EnrollResourceRequest.EligibleDestination.Builder setEligibleGcsBucketBytes(ByteString value)

The Cloud Storage bucket location where the audit report and evidences can be uploaded during the GenerateAuditReport API call.

string eligible_gcs_bucket = 3;

Parameter
Name Description
value ByteString

The bytes for eligibleGcsBucket to set.

Returns
Type Description
EnrollResourceRequest.EligibleDestination.Builder

This builder for chaining.