Interface CreateHookRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateHookRequest, CreateHookRequest.Builder

@Generated public interface CreateHookRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The repository in which to create the hook. Values are of the
       form
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The repository in which to create the hook. Values are of the
       form
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasHook

      boolean hasHook()
       Required. The resource being created.
       
      .google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the hook field is set.
    • getHook

      Hook getHook()
       Required. The resource being created.
       
      .google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The hook.
    • getHookOrBuilder

      HookOrBuilder getHookOrBuilder()
       Required. The resource being created.
       
      .google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
    • getHookId

      String getHookId()
       Required. The ID to use for the hook, which will become the final component
       of the hook's resource name. This value restricts to lower-case letters,
       numbers, and hyphen, with the first character a letter, the last a letter
       or a number, and a 63 character maximum.
       
      string hook_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The hookId.
    • getHookIdBytes

      com.google.protobuf.ByteString getHookIdBytes()
       Required. The ID to use for the hook, which will become the final component
       of the hook's resource name. This value restricts to lower-case letters,
       numbers, and hyphen, with the first character a letter, the last a letter
       or a number, and a 63 character maximum.
       
      string hook_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for hookId.