Interface CreateBuildTriggerRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The parent resource where this trigger will be created.
    com.google.protobuf.ByteString
    The parent resource where this trigger will be created.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    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()
       The parent resource where this trigger will be created.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       The parent resource where this trigger will be created.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getProjectId

      String getProjectId()
       Required. ID of the project for which to configure automatic builds.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Required. ID of the project for which to configure automatic builds.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for projectId.
    • hasTrigger

      boolean hasTrigger()
       Required. `BuildTrigger` to create.
       
      .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the trigger field is set.
    • getTrigger

      BuildTrigger getTrigger()
       Required. `BuildTrigger` to create.
       
      .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The trigger.
    • getTriggerOrBuilder

      BuildTriggerOrBuilder getTriggerOrBuilder()
       Required. `BuildTrigger` to create.
       
      .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];