public static final class BranchRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder> implements BranchRuleOrBuilder
Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-defined rules on desginated branches within a repository.Protobuf type
google.cloud.securesourcemanager.v1.BranchRulegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BranchRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BranchRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BranchRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BranchRule.Builder>public BranchRule.Builder mergeFrom(BranchRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public BranchRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BranchRule.Builder>IOExceptionpublic String getName()
Optional. A unique identifier for a BranchRule. The name should be of the
format:
`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getName in interface BranchRuleOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Optional. A unique identifier for a BranchRule. The name should be of the
format:
`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getNameBytes in interface BranchRuleOrBuilderpublic BranchRule.Builder setName(String value)
Optional. A unique identifier for a BranchRule. The name should be of the
format:
`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The name to set.public BranchRule.Builder clearName()
Optional. A unique identifier for a BranchRule. The name should be of the
format:
`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];public BranchRule.Builder setNameBytes(com.google.protobuf.ByteString value)
Optional. A unique identifier for a BranchRule. The name should be of the
format:
`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for name to set.public String getUid()
Output only. Unique identifier of the repository.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface BranchRuleOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the repository.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface BranchRuleOrBuilderpublic BranchRule.Builder setUid(String value)
Output only. Unique identifier of the repository.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public BranchRule.Builder clearUid()
Output only. Unique identifier of the repository.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public BranchRule.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier of the repository.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public boolean hasCreateTime()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface BranchRuleOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface BranchRuleOrBuilderpublic BranchRule.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder clearCreateTime()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface BranchRuleOrBuilderpublic boolean hasUpdateTime()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface BranchRuleOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface BranchRuleOrBuilderpublic BranchRule.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BranchRule.Builder clearUpdateTime()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface BranchRuleOrBuilderpublic int getAnnotationsCount()
BranchRuleOrBuilderOptional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsCount in interface BranchRuleOrBuilderpublic boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
containsAnnotations in interface BranchRuleOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface BranchRuleOrBuilderpublic Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsMap in interface BranchRuleOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsOrDefault in interface BranchRuleOrBuilderpublic String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsOrThrow in interface BranchRuleOrBuilderpublic BranchRule.Builder clearAnnotations()
public BranchRule.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableAnnotations()
public BranchRule.Builder putAnnotations(String key, String value)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder putAllAnnotations(Map<String,String> values)
Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
public String getEtag()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];getEtag in interface BranchRuleOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];getEtagBytes in interface BranchRuleOrBuilderpublic BranchRule.Builder setEtag(String value)
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];value - The etag to set.public BranchRule.Builder clearEtag()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];public BranchRule.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for etag to set.public String getIncludePattern()
Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
string include_pattern = 7 [(.google.api.field_behavior) = OPTIONAL];getIncludePattern in interface BranchRuleOrBuilderpublic com.google.protobuf.ByteString getIncludePatternBytes()
Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
string include_pattern = 7 [(.google.api.field_behavior) = OPTIONAL];getIncludePatternBytes in interface BranchRuleOrBuilderpublic BranchRule.Builder setIncludePattern(String value)
Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
string include_pattern = 7 [(.google.api.field_behavior) = OPTIONAL];value - The includePattern to set.public BranchRule.Builder clearIncludePattern()
Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
string include_pattern = 7 [(.google.api.field_behavior) = OPTIONAL];public BranchRule.Builder setIncludePatternBytes(com.google.protobuf.ByteString value)
Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
string include_pattern = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for includePattern to set.public boolean getDisabled()
Optional. Determines if the branch rule is disabled or not.
bool disabled = 8 [(.google.api.field_behavior) = OPTIONAL];getDisabled in interface BranchRuleOrBuilderpublic BranchRule.Builder setDisabled(boolean value)
Optional. Determines if the branch rule is disabled or not.
bool disabled = 8 [(.google.api.field_behavior) = OPTIONAL];value - The disabled to set.public BranchRule.Builder clearDisabled()
Optional. Determines if the branch rule is disabled or not.
bool disabled = 8 [(.google.api.field_behavior) = OPTIONAL];public boolean getRequirePullRequest()
Optional. Determines if the branch rule requires a pull request or not.
bool require_pull_request = 9 [(.google.api.field_behavior) = OPTIONAL];getRequirePullRequest in interface BranchRuleOrBuilderpublic BranchRule.Builder setRequirePullRequest(boolean value)
Optional. Determines if the branch rule requires a pull request or not.
bool require_pull_request = 9 [(.google.api.field_behavior) = OPTIONAL];value - The requirePullRequest to set.public BranchRule.Builder clearRequirePullRequest()
Optional. Determines if the branch rule requires a pull request or not.
bool require_pull_request = 9 [(.google.api.field_behavior) = OPTIONAL];public int getMinimumReviewsCount()
Optional. The minimum number of reviews required for the branch rule to be matched.
int32 minimum_reviews_count = 10 [(.google.api.field_behavior) = OPTIONAL];getMinimumReviewsCount in interface BranchRuleOrBuilderpublic BranchRule.Builder setMinimumReviewsCount(int value)
Optional. The minimum number of reviews required for the branch rule to be matched.
int32 minimum_reviews_count = 10 [(.google.api.field_behavior) = OPTIONAL];value - The minimumReviewsCount to set.public BranchRule.Builder clearMinimumReviewsCount()
Optional. The minimum number of reviews required for the branch rule to be matched.
int32 minimum_reviews_count = 10 [(.google.api.field_behavior) = OPTIONAL];public int getMinimumApprovalsCount()
Optional. The minimum number of approvals required for the branch rule to be matched.
int32 minimum_approvals_count = 11 [(.google.api.field_behavior) = OPTIONAL];getMinimumApprovalsCount in interface BranchRuleOrBuilderpublic BranchRule.Builder setMinimumApprovalsCount(int value)
Optional. The minimum number of approvals required for the branch rule to be matched.
int32 minimum_approvals_count = 11 [(.google.api.field_behavior) = OPTIONAL];value - The minimumApprovalsCount to set.public BranchRule.Builder clearMinimumApprovalsCount()
Optional. The minimum number of approvals required for the branch rule to be matched.
int32 minimum_approvals_count = 11 [(.google.api.field_behavior) = OPTIONAL];public boolean getRequireCommentsResolved()
Optional. Determines if require comments resolved before merging to the branch.
bool require_comments_resolved = 12 [(.google.api.field_behavior) = OPTIONAL];getRequireCommentsResolved in interface BranchRuleOrBuilderpublic BranchRule.Builder setRequireCommentsResolved(boolean value)
Optional. Determines if require comments resolved before merging to the branch.
bool require_comments_resolved = 12 [(.google.api.field_behavior) = OPTIONAL];value - The requireCommentsResolved to set.public BranchRule.Builder clearRequireCommentsResolved()
Optional. Determines if require comments resolved before merging to the branch.
bool require_comments_resolved = 12 [(.google.api.field_behavior) = OPTIONAL];public boolean getAllowStaleReviews()
Optional. Determines if allow stale reviews or approvals before merging to the branch.
bool allow_stale_reviews = 15 [(.google.api.field_behavior) = OPTIONAL];getAllowStaleReviews in interface BranchRuleOrBuilderpublic BranchRule.Builder setAllowStaleReviews(boolean value)
Optional. Determines if allow stale reviews or approvals before merging to the branch.
bool allow_stale_reviews = 15 [(.google.api.field_behavior) = OPTIONAL];value - The allowStaleReviews to set.public BranchRule.Builder clearAllowStaleReviews()
Optional. Determines if allow stale reviews or approvals before merging to the branch.
bool allow_stale_reviews = 15 [(.google.api.field_behavior) = OPTIONAL];public boolean getRequireLinearHistory()
Optional. Determines if require linear history before merging to the branch.
bool require_linear_history = 13 [(.google.api.field_behavior) = OPTIONAL];getRequireLinearHistory in interface BranchRuleOrBuilderpublic BranchRule.Builder setRequireLinearHistory(boolean value)
Optional. Determines if require linear history before merging to the branch.
bool require_linear_history = 13 [(.google.api.field_behavior) = OPTIONAL];value - The requireLinearHistory to set.public BranchRule.Builder clearRequireLinearHistory()
Optional. Determines if require linear history before merging to the branch.
bool require_linear_history = 13 [(.google.api.field_behavior) = OPTIONAL];public List<BranchRule.Check> getRequiredStatusChecksList()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
getRequiredStatusChecksList in interface BranchRuleOrBuilderpublic int getRequiredStatusChecksCount()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
getRequiredStatusChecksCount in interface BranchRuleOrBuilderpublic BranchRule.Check getRequiredStatusChecks(int index)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
getRequiredStatusChecks in interface BranchRuleOrBuilderpublic BranchRule.Builder setRequiredStatusChecks(int index, BranchRule.Check value)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder setRequiredStatusChecks(int index, BranchRule.Check.Builder builderForValue)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder addRequiredStatusChecks(BranchRule.Check value)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder addRequiredStatusChecks(int index, BranchRule.Check value)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder addRequiredStatusChecks(BranchRule.Check.Builder builderForValue)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder addRequiredStatusChecks(int index, BranchRule.Check.Builder builderForValue)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder addAllRequiredStatusChecks(Iterable<? extends BranchRule.Check> values)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder clearRequiredStatusChecks()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Builder removeRequiredStatusChecks(int index)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Check.Builder getRequiredStatusChecksBuilder(int index)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.CheckOrBuilder getRequiredStatusChecksOrBuilder(int index)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
getRequiredStatusChecksOrBuilder in interface BranchRuleOrBuilderpublic List<? extends BranchRule.CheckOrBuilder> getRequiredStatusChecksOrBuilderList()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
getRequiredStatusChecksOrBuilderList in interface BranchRuleOrBuilderpublic BranchRule.Check.Builder addRequiredStatusChecksBuilder()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public BranchRule.Check.Builder addRequiredStatusChecksBuilder(int index)
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public List<BranchRule.Check.Builder> getRequiredStatusChecksBuilderList()
Optional. List of required status checks before merging to the branch.
repeated .google.cloud.securesourcemanager.v1.BranchRule.Check required_status_checks = 14 [(.google.api.field_behavior) = OPTIONAL];
public final BranchRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>public final BranchRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BranchRule.Builder>Copyright © 2025 Google LLC. All rights reserved.