public static final class UpdateEnrollmentRequest.Builder extends GeneratedMessage.Builder<UpdateEnrollmentRequest.Builder> implements UpdateEnrollmentRequestOrBuilderThe request message for the UpdateEnrollment method.
Protobuf type google.cloud.eventarc.v1.UpdateEnrollmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateEnrollmentRequest.BuilderImplements
UpdateEnrollmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateEnrollmentRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest |
|
buildPartial()
public UpdateEnrollmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest |
|
clear()
public UpdateEnrollmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
clearAllowMissing()
public UpdateEnrollmentRequest.Builder clearAllowMissing() Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation, update_mask is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
This builder for chaining. |
clearEnrollment()
public UpdateEnrollmentRequest.Builder clearEnrollment()Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
clearUpdateMask()
public UpdateEnrollmentRequest.Builder clearUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
clearValidateOnly()
public UpdateEnrollmentRequest.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 |
UpdateEnrollmentRequest.Builder |
This builder for chaining. |
getAllowMissing()
public boolean getAllowMissing() Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation, update_mask is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowMissing. |
getDefaultInstanceForType()
public UpdateEnrollmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnrollment()
public Enrollment getEnrollment()Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Enrollment |
The enrollment. |
getEnrollmentBuilder()
public Enrollment.Builder getEnrollmentBuilder()Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Enrollment.Builder |
|
getEnrollmentOrBuilder()
public EnrollmentOrBuilder getEnrollmentOrBuilder()Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EnrollmentOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enrollment field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask 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 UpdateEnrollmentRequest.Builder mergeEnrollment(Enrollment value)Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Enrollment |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
mergeFrom(UpdateEnrollmentRequest other)
public UpdateEnrollmentRequest.Builder mergeFrom(UpdateEnrollmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateEnrollmentRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateEnrollmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateEnrollmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateEnrollmentRequest.Builder mergeUpdateMask(FieldMask value)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
setAllowMissing(boolean value)
public UpdateEnrollmentRequest.Builder setAllowMissing(boolean value) Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation, update_mask is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowMissing to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
This builder for chaining. |
setEnrollment(Enrollment value)
public UpdateEnrollmentRequest.Builder setEnrollment(Enrollment value)Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Enrollment |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
setEnrollment(Enrollment.Builder builderForValue)
public UpdateEnrollmentRequest.Builder setEnrollment(Enrollment.Builder builderForValue)Required. The Enrollment to be updated.
.google.cloud.eventarc.v1.Enrollment enrollment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Enrollment.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateEnrollmentRequest.Builder setUpdateMask(FieldMask value)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEnrollmentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateEnrollmentRequest.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 |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateEnrollmentRequest.Builder |
This builder for chaining. |