public interface CreateEnrollmentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnrollment()
public abstract Enrollment getEnrollment()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The enrollment. |
getEnrollmentId()
public abstract String getEnrollmentId()Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).
string enrollment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The enrollmentId. |
getEnrollmentIdBytes()
public abstract ByteString getEnrollmentIdBytes()Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).
string enrollment_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for enrollmentId. |
getEnrollmentOrBuilder()
public abstract EnrollmentOrBuilder getEnrollmentOrBuilder()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EnrollmentOrBuilder |
|
getParent()
public abstract String getParent()Required. The parent collection in which to add this enrollment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The parent collection in which to add this enrollment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getValidateOnly()
public abstract boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasEnrollment()
public abstract boolean hasEnrollment()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enrollment field is set. |