public static final class UpdateHookRequest.Builder extends GeneratedMessage.Builder<UpdateHookRequest.Builder> implements UpdateHookRequestOrBuilderUpdateHookRequest is the request to update a hook.
Protobuf type google.cloud.securesourcemanager.v1.UpdateHookRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateHookRequest.BuilderImplements
UpdateHookRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateHookRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest |
|
buildPartial()
public UpdateHookRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest |
|
clear()
public UpdateHookRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
clearHook()
public UpdateHookRequest.Builder clearHook()Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
clearUpdateMask()
public UpdateHookRequest.Builder clearUpdateMask()Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
getDefaultInstanceForType()
public UpdateHookRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHook()
public Hook getHook()Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Hook |
The hook. |
getHookBuilder()
public Hook.Builder getHookBuilder()Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Hook.Builder |
|
getHookOrBuilder()
public HookOrBuilder getHookOrBuilder()Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HookOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasHook()
public boolean hasHook()Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hook field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| 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 |
|
mergeFrom(UpdateHookRequest other)
public UpdateHookRequest.Builder mergeFrom(UpdateHookRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateHookRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateHookRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateHookRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
mergeHook(Hook value)
public UpdateHookRequest.Builder mergeHook(Hook value)Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Hook |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateHookRequest.Builder mergeUpdateMask(FieldMask value)Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
setHook(Hook value)
public UpdateHookRequest.Builder setHook(Hook value)Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Hook |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
setHook(Hook.Builder builderForValue)
public UpdateHookRequest.Builder setHook(Hook.Builder builderForValue)Required. The hook being updated.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Hook.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateHookRequest.Builder setUpdateMask(FieldMask value)Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateHookRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest.Builder |
|