Class Enrollment.Builder (0.3.0)

public static final class Enrollment.Builder extends GeneratedMessage.Builder<Enrollment.Builder> implements EnrollmentOrBuilder

The enrollment resource.

Protobuf type google.cloud.auditmanager.v1.Enrollment

Implements

EnrollmentOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllDestinationDetails(Iterable<? extends DestinationDetails> values)

public Enrollment.Builder addAllDestinationDetails(Iterable<? extends DestinationDetails> values)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.auditmanager.v1.DestinationDetails>
Returns
Type Description
Enrollment.Builder

addDestinationDetails(DestinationDetails value)

public Enrollment.Builder addDestinationDetails(DestinationDetails value)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationDetails
Returns
Type Description
Enrollment.Builder

addDestinationDetails(DestinationDetails.Builder builderForValue)

public Enrollment.Builder addDestinationDetails(DestinationDetails.Builder builderForValue)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DestinationDetails.Builder
Returns
Type Description
Enrollment.Builder

addDestinationDetails(int index, DestinationDetails value)

public Enrollment.Builder addDestinationDetails(int index, DestinationDetails value)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DestinationDetails
Returns
Type Description
Enrollment.Builder

addDestinationDetails(int index, DestinationDetails.Builder builderForValue)

public Enrollment.Builder addDestinationDetails(int index, DestinationDetails.Builder builderForValue)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DestinationDetails.Builder
Returns
Type Description
Enrollment.Builder

addDestinationDetailsBuilder()

public DestinationDetails.Builder addDestinationDetailsBuilder()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationDetails.Builder

addDestinationDetailsBuilder(int index)

public DestinationDetails.Builder addDestinationDetailsBuilder(int index)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DestinationDetails.Builder

build()

public Enrollment build()
Returns
Type Description
Enrollment

buildPartial()

public Enrollment buildPartial()
Returns
Type Description
Enrollment

clear()

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

clearDestinationDetails()

public Enrollment.Builder clearDestinationDetails()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Enrollment.Builder

clearName()

public Enrollment.Builder clearName()

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

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

Returns
Type Description
Enrollment.Builder

This builder for chaining.

getDefaultInstanceForType()

public Enrollment getDefaultInstanceForType()
Returns
Type Description
Enrollment

getDescriptorForType()

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

getDestinationDetails(int index)

public DestinationDetails getDestinationDetails(int index)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DestinationDetails

getDestinationDetailsBuilder(int index)

public DestinationDetails.Builder getDestinationDetailsBuilder(int index)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DestinationDetails.Builder

getDestinationDetailsBuilderList()

public List<DestinationDetails.Builder> getDestinationDetailsBuilderList()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getDestinationDetailsCount()

public int getDestinationDetailsCount()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDestinationDetailsList()

public List<DestinationDetails> getDestinationDetailsList()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DestinationDetails>

getDestinationDetailsOrBuilder(int index)

public DestinationDetailsOrBuilder getDestinationDetailsOrBuilder(int index)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DestinationDetailsOrBuilder

getDestinationDetailsOrBuilderList()

public List<? extends DestinationDetailsOrBuilder> getDestinationDetailsOrBuilderList()

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.auditmanager.v1.DestinationDetailsOrBuilder>

getName()

public String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Enrollment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDestinationDetails(int index)

public Enrollment.Builder removeDestinationDetails(int index)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Enrollment.Builder

setDestinationDetails(int index, DestinationDetails value)

public Enrollment.Builder setDestinationDetails(int index, DestinationDetails value)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DestinationDetails
Returns
Type Description
Enrollment.Builder

setDestinationDetails(int index, DestinationDetails.Builder builderForValue)

public Enrollment.Builder setDestinationDetails(int index, DestinationDetails.Builder builderForValue)

Output only. The locations where the generated reports can be uploaded.

repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DestinationDetails.Builder
Returns
Type Description
Enrollment.Builder

setName(String value)

public Enrollment.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Enrollment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Enrollment.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Enrollment.Builder

This builder for chaining.