- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class CreateEnrollmentRequest.Builder extends GeneratedMessageV3.Builder<CreateEnrollmentRequest.Builder> implements CreateEnrollmentRequestOrBuilder
The request message for the CreateEnrollment method.
Protobuf type google.cloud.eventarc.v1.CreateEnrollmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateEnrollmentRequest.BuilderImplements
CreateEnrollmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEnrollmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
build()
public CreateEnrollmentRequest build()
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest |
buildPartial()
public CreateEnrollmentRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest |
clear()
public CreateEnrollmentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
clearEnrollment()
public CreateEnrollmentRequest.Builder clearEnrollment()
Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
clearEnrollmentId()
public CreateEnrollmentRequest.Builder clearEnrollmentId()
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 |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateEnrollmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEnrollmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
clearParent()
public CreateEnrollmentRequest.Builder clearParent()
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 |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateEnrollmentRequest.Builder clearValidateOnly()
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 |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
clone()
public CreateEnrollmentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
getDefaultInstanceForType()
public CreateEnrollmentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnrollment()
public 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. |
getEnrollmentBuilder()
public Enrollment.Builder getEnrollmentBuilder()
Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Enrollment.Builder |
getEnrollmentId()
public 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEnrollment(Enrollment value)
public CreateEnrollmentRequest.Builder mergeEnrollment(Enrollment value)
Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Enrollment |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
mergeFrom(CreateEnrollmentRequest other)
public CreateEnrollmentRequest.Builder mergeFrom(CreateEnrollmentRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateEnrollmentRequest |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateEnrollmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateEnrollmentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEnrollmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setEnrollment(Enrollment value)
public CreateEnrollmentRequest.Builder setEnrollment(Enrollment value)
Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Enrollment |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setEnrollment(Enrollment.Builder builderForValue)
public CreateEnrollmentRequest.Builder setEnrollment(Enrollment.Builder builderForValue)
Required. The enrollment to create.
.google.cloud.eventarc.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Enrollment.Builder |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setEnrollmentId(String value)
public CreateEnrollmentRequest.Builder setEnrollmentId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The enrollmentId to set. |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
setEnrollmentIdBytes(ByteString value)
public CreateEnrollmentRequest.Builder setEnrollmentIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for enrollmentId to set. |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEnrollmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setParent(String value)
public CreateEnrollmentRequest.Builder setParent(String value)
Required. The parent collection in which to add this enrollment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateEnrollmentRequest.Builder setParentBytes(ByteString value)
Required. The parent collection in which to add this enrollment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEnrollmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEnrollmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
setValidateOnly(boolean value)
public CreateEnrollmentRequest.Builder setValidateOnly(boolean value)
Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
CreateEnrollmentRequest.Builder |
This builder for chaining. |