public static final class ResourceEnrollmentStatus.Builder extends GeneratedMessage.Builder<ResourceEnrollmentStatus.Builder> implements ResourceEnrollmentStatusOrBuilderAn organization, folder, or project with its enrollment status.
Protobuf type google.cloud.auditmanager.v1.ResourceEnrollmentStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourceEnrollmentStatus.BuilderImplements
ResourceEnrollmentStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ResourceEnrollmentStatus build()| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
|
buildPartial()
public ResourceEnrollmentStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
|
clear()
public ResourceEnrollmentStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
clearDisplayName()
public ResourceEnrollmentStatus.Builder clearDisplayName()Output only. Display name for the organization, folder, or project.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
clearEnrolled() (deprecated)
public ResourceEnrollmentStatus.Builder clearEnrolled()Deprecated. google.cloud.auditmanager.v1.ResourceEnrollmentStatus.enrolled is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=812
Output only. Deprecated. Whether the organization, folder, or project is
enrolled. Use enrollment_state instead.
bool enrolled = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
clearEnrollment()
public ResourceEnrollmentStatus.Builder clearEnrollment()Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
clearEnrollmentState()
public ResourceEnrollmentStatus.Builder clearEnrollmentState()Output only. Enrollment state of the organization, folder, or project.
.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
clearName()
public ResourceEnrollmentStatus.Builder clearName()Identifier. Name of the resource enrollment status, in one of the following formats:
folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ResourceEnrollmentStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. Display name for the organization, folder, or project.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. Display name for the organization, folder, or project.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEnrolled() (deprecated)
public boolean getEnrolled()Deprecated. google.cloud.auditmanager.v1.ResourceEnrollmentStatus.enrolled is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=812
Output only. Deprecated. Whether the organization, folder, or project is
enrolled. Use enrollment_state instead.
bool enrolled = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enrolled. |
getEnrollment()
public Enrollment getEnrollment()Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The enrollment. |
getEnrollmentBuilder()
public Enrollment.Builder getEnrollmentBuilder()Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Enrollment.Builder |
|
getEnrollmentOrBuilder()
public EnrollmentOrBuilder getEnrollmentOrBuilder()Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EnrollmentOrBuilder |
|
getEnrollmentState()
public ResourceEnrollmentStatus.ResourceEnrollmentState getEnrollmentState()Output only. Enrollment state of the organization, folder, or project.
.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.ResourceEnrollmentState |
The enrollmentState. |
getEnrollmentStateValue()
public int getEnrollmentStateValue()Output only. Enrollment state of the organization, folder, or project.
.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for enrollmentState. |
getName()
public String getName()Identifier. Name of the resource enrollment status, in one of the following formats:
folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Name of the resource enrollment status, in one of the following formats:
folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasEnrollment()
public boolean hasEnrollment()Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enrollment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEnrollment(Enrollment value)
public ResourceEnrollmentStatus.Builder mergeEnrollment(Enrollment value)Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Enrollment |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
mergeFrom(ResourceEnrollmentStatus other)
public ResourceEnrollmentStatus.Builder mergeFrom(ResourceEnrollmentStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceEnrollmentStatus |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceEnrollmentStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceEnrollmentStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
setDisplayName(String value)
public ResourceEnrollmentStatus.Builder setDisplayName(String value)Output only. Display name for the organization, folder, or project.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ResourceEnrollmentStatus.Builder setDisplayNameBytes(ByteString value)Output only. Display name for the organization, folder, or project.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setEnrolled(boolean value) (deprecated)
public ResourceEnrollmentStatus.Builder setEnrolled(boolean value)Deprecated. google.cloud.auditmanager.v1.ResourceEnrollmentStatus.enrolled is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=812
Output only. Deprecated. Whether the organization, folder, or project is
enrolled. Use enrollment_state instead.
bool enrolled = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enrolled to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setEnrollment(Enrollment value)
public ResourceEnrollmentStatus.Builder setEnrollment(Enrollment value)Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Enrollment |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
setEnrollment(Enrollment.Builder builderForValue)
public ResourceEnrollmentStatus.Builder setEnrollment(Enrollment.Builder builderForValue)Output only. Enrolled destination details for the organization, folder, or project.
.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Enrollment.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
|
setEnrollmentState(ResourceEnrollmentStatus.ResourceEnrollmentState value)
public ResourceEnrollmentStatus.Builder setEnrollmentState(ResourceEnrollmentStatus.ResourceEnrollmentState value)Output only. Enrollment state of the organization, folder, or project.
.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceEnrollmentStatus.ResourceEnrollmentStateThe enrollmentState to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setEnrollmentStateValue(int value)
public ResourceEnrollmentStatus.Builder setEnrollmentStateValue(int value)Output only. Enrollment state of the organization, folder, or project.
.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for enrollmentState to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setName(String value)
public ResourceEnrollmentStatus.Builder setName(String value)Identifier. Name of the resource enrollment status, in one of the following formats:
folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ResourceEnrollmentStatus.Builder setNameBytes(ByteString value)Identifier. Name of the resource enrollment status, in one of the following formats:
folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceEnrollmentStatus.Builder |
This builder for chaining. |