public static final class UpdateCurationRequest.Builder extends GeneratedMessage.Builder<UpdateCurationRequest.Builder> implements UpdateCurationRequestOrBuilderThe UpdateCuration method's request.
Protobuf type google.cloud.apihub.v1.UpdateCurationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateCurationRequest.BuilderImplements
UpdateCurationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateCurationRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest |
|
buildPartial()
public UpdateCurationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest |
|
clear()
public UpdateCurationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
clearCuration()
public UpdateCurationRequest.Builder clearCuration()Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
clearUpdateMask()
public UpdateCurationRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
getCuration()
public Curation getCuration()Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Curation |
The curation. |
getCurationBuilder()
public Curation.Builder getCurationBuilder()Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Curation.Builder |
|
getCurationOrBuilder()
public CurationOrBuilder getCurationOrBuilder()Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CurationOrBuilder |
|
getDefaultInstanceForType()
public UpdateCurationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasCuration()
public boolean hasCuration()Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the curation field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update.
.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 |
|
mergeCuration(Curation value)
public UpdateCurationRequest.Builder mergeCuration(Curation value)Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Curation |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
mergeFrom(UpdateCurationRequest other)
public UpdateCurationRequest.Builder mergeFrom(UpdateCurationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateCurationRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCurationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateCurationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateCurationRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
setCuration(Curation value)
public UpdateCurationRequest.Builder setCuration(Curation value)Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Curation |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
setCuration(Curation.Builder builderForValue)
public UpdateCurationRequest.Builder setCuration(Curation.Builder builderForValue)Required. The curation resource to update.
The curation resource's name field is used to identify the curation
resource to update.
Format: projects/{project}/locations/{location}/curations/{curation}
.google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Curation.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateCurationRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCurationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCurationRequest.Builder |
|