public static final class Enrollment.Builder extends GeneratedMessage.Builder<Enrollment.Builder> implements EnrollmentOrBuilderThe enrollment resource.
Protobuf type google.cloud.auditmanager.v1.Enrollment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Enrollment.BuilderImplements
EnrollmentOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Enrollment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Enrollment.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Enrollment.Builder |
This builder for chaining. |