Package com.google.cloud.eventarc.v1
Interface CreateEnrollmentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateEnrollmentRequest,CreateEnrollmentRequest.Builder
@Generated
public interface CreateEnrollmentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasEnrollment
boolean hasEnrollment()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the enrollment field is set.
-
getEnrollment
Enrollment getEnrollment()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enrollment.
-
getEnrollmentOrBuilder
EnrollmentOrBuilder getEnrollmentOrBuilder()Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED]; -
getEnrollmentId
String getEnrollmentId()Required. The user-provided ID to be assigned to the Enrollment. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.string enrollment_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enrollmentId.
-
getEnrollmentIdBytes
com.google.protobuf.ByteString getEnrollmentIdBytes()Required. The user-provided ID to be assigned to the Enrollment. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.string enrollment_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for enrollmentId.
-
getValidateOnly
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:
- The validateOnly.
-