public static final class Hook.Builder extends GeneratedMessageV3.Builder<Hook.Builder> implements HookOrBuilderMetadata of a Secure Source Manager Hook.
 Protobuf type google.cloud.securesourcemanager.v1.Hook
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Hook.BuilderImplements
HookOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllEvents(Iterable<? extends Hook.HookEventType> values)
public Hook.Builder addAllEvents(Iterable<? extends Hook.HookEventType> values)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.securesourcemanager.v1.Hook.HookEventType>The events to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
addAllEventsValue(Iterable<Integer> values)
public Hook.Builder addAllEventsValue(Iterable<Integer> values)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for events to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
addEvents(Hook.HookEventType value)
public Hook.Builder addEvents(Hook.HookEventType value)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Hook.HookEventTypeThe events to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
addEventsValue(int value)
public Hook.Builder addEventsValue(int value)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for events to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Hook.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
build()
public Hook build()| Returns | |
|---|---|
| Type | Description | 
| Hook | |
buildPartial()
public Hook buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Hook | |
clear()
public Hook.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clearCreateTime()
public Hook.Builder clearCreateTime()Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clearDisabled()
public Hook.Builder clearDisabled()Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.
 bool disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearEvents()
public Hook.Builder clearEvents()Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Hook.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clearName()
public Hook.Builder clearName() Identifier. A unique identifier for a Hook. The name should be of the
 format:
 projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Hook.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clearPushOption()
public Hook.Builder clearPushOption()Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clearSensitiveQueryString()
public Hook.Builder clearSensitiveQueryString()Optional. The sensitive query string to be appended to the target URI.
 string sensitive_query_string = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearTargetUri()
public Hook.Builder clearTargetUri()Required. The target URI to which the payloads will be delivered.
 string target_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearUid()
public Hook.Builder clearUid()Output only. Unique identifier of the hook.
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
clearUpdateTime()
public Hook.Builder clearUpdateTime()Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
clone()
public Hook.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
getCreateTime()
public Timestamp getCreateTime()Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public Hook getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Hook | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDisabled()
public boolean getDisabled()Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.
 bool disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The disabled. | 
getEvents(int index)
public Hook.HookEventType getEvents(int index)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.HookEventType | The events at the given index. | 
getEventsCount()
public int getEventsCount()Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of events. | 
getEventsList()
public List<Hook.HookEventType> getEventsList()Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<HookEventType> | A list containing the events. | 
getEventsValue(int index)
public int getEventsValue(int index)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire of events at the given index. | 
getEventsValueList()
public List<Integer> getEventsValueList()Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for events. | 
getName()
public String getName() Identifier. A unique identifier for a Hook. The name should be of the
 format:
 projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() Identifier. A unique identifier for a Hook. The name should be of the
 format:
 projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getPushOption()
public Hook.PushOption getPushOption()Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.PushOption | The pushOption. | 
getPushOptionBuilder()
public Hook.PushOption.Builder getPushOptionBuilder()Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.PushOption.Builder | |
getPushOptionOrBuilder()
public Hook.PushOptionOrBuilder getPushOptionOrBuilder()Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Hook.PushOptionOrBuilder | |
getSensitiveQueryString()
public String getSensitiveQueryString()Optional. The sensitive query string to be appended to the target URI.
 string sensitive_query_string = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The sensitiveQueryString. | 
getSensitiveQueryStringBytes()
public ByteString getSensitiveQueryStringBytes()Optional. The sensitive query string to be appended to the target URI.
 string sensitive_query_string = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for sensitiveQueryString. | 
getTargetUri()
public String getTargetUri()Required. The target URI to which the payloads will be delivered.
 string target_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The targetUri. | 
getTargetUriBytes()
public ByteString getTargetUriBytes()Required. The target URI to which the payloads will be delivered.
 string target_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for targetUri. | 
getUid()
public String getUid()Output only. Unique identifier of the hook.
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The uid. | 
getUidBytes()
public ByteString getUidBytes()Output only. Unique identifier of the hook.
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for uid. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public boolean hasCreateTime()Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasPushOption()
public boolean hasPushOption()Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the pushOption field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public Hook.Builder mergeCreateTime(Timestamp value)Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
mergeFrom(Hook other)
public Hook.Builder mergeFrom(Hook other)| Parameter | |
|---|---|
| Name | Description | 
| other | Hook | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Hook.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Hook.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
mergePushOption(Hook.PushOption value)
public Hook.Builder mergePushOption(Hook.PushOption value)Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Hook.PushOption | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Hook.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
mergeUpdateTime(Timestamp value)
public Hook.Builder mergeUpdateTime(Timestamp value)Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setCreateTime(Timestamp value)
public Hook.Builder setCreateTime(Timestamp value)Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public Hook.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create timestamp.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setDisabled(boolean value)
public Hook.Builder setDisabled(boolean value)Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.
 bool disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe disabled to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setEvents(int index, Hook.HookEventType value)
public Hook.Builder setEvents(int index, Hook.HookEventType value)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | Hook.HookEventTypeThe events to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setEventsValue(int index, int value)
public Hook.Builder setEventsValue(int index, int value)Optional. The events that trigger hook on.
 
 repeated .google.cloud.securesourcemanager.v1.Hook.HookEventType events = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | intThe enum numeric value on the wire for events to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Hook.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setName(String value)
public Hook.Builder setName(String value) Identifier. A unique identifier for a Hook. The name should be of the
 format:
 projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public Hook.Builder setNameBytes(ByteString value) Identifier. A unique identifier for a Hook. The name should be of the
 format:
 projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setPushOption(Hook.PushOption value)
public Hook.Builder setPushOption(Hook.PushOption value)Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Hook.PushOption | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setPushOption(Hook.PushOption.Builder builderForValue)
public Hook.Builder setPushOption(Hook.PushOption.Builder builderForValue)Optional. The trigger option for push events.
 
 .google.cloud.securesourcemanager.v1.Hook.PushOption push_option = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Hook.PushOption.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Hook.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setSensitiveQueryString(String value)
public Hook.Builder setSensitiveQueryString(String value)Optional. The sensitive query string to be appended to the target URI.
 string sensitive_query_string = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe sensitiveQueryString to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setSensitiveQueryStringBytes(ByteString value)
public Hook.Builder setSensitiveQueryStringBytes(ByteString value)Optional. The sensitive query string to be appended to the target URI.
 string sensitive_query_string = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for sensitiveQueryString to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setTargetUri(String value)
public Hook.Builder setTargetUri(String value)Required. The target URI to which the payloads will be delivered.
 string target_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe targetUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setTargetUriBytes(ByteString value)
public Hook.Builder setTargetUriBytes(ByteString value)Required. The target URI to which the payloads will be delivered.
 string target_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for targetUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setUid(String value)
public Hook.Builder setUid(String value)Output only. Unique identifier of the hook.
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe uid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setUidBytes(ByteString value)
public Hook.Builder setUidBytes(ByteString value)Output only. Unique identifier of the hook.
 string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for uid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Hook.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setUpdateTime(Timestamp value)
public Hook.Builder setUpdateTime(Timestamp value)Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public Hook.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update timestamp.
 
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Hook.Builder | |