public static final class ListBranchRulesResponse.Builder extends GeneratedMessageV3.Builder<ListBranchRulesResponse.Builder> implements ListBranchRulesResponseOrBuilder
ListBranchRulesResponse is the response to listing branchRules.
Protobuf type google.cloud.securesourcemanager.v1.ListBranchRulesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBranchRules(Iterable<? extends BranchRule> values)
public ListBranchRulesResponse.Builder addAllBranchRules(Iterable<? extends BranchRule> values)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securesourcemanager.v1.BranchRule>
|
addBranchRules(BranchRule value)
public ListBranchRulesResponse.Builder addBranchRules(BranchRule value)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
addBranchRules(BranchRule.Builder builderForValue)
public ListBranchRulesResponse.Builder addBranchRules(BranchRule.Builder builderForValue)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
addBranchRules(int index, BranchRule value)
public ListBranchRulesResponse.Builder addBranchRules(int index, BranchRule value)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
addBranchRules(int index, BranchRule.Builder builderForValue)
public ListBranchRulesResponse.Builder addBranchRules(int index, BranchRule.Builder builderForValue)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
addBranchRulesBuilder()
public BranchRule.Builder addBranchRulesBuilder()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
addBranchRulesBuilder(int index)
public BranchRule.Builder addBranchRulesBuilder(int index)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBranchRulesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBranchRulesResponse build()
buildPartial()
public ListBranchRulesResponse buildPartial()
clear()
public ListBranchRulesResponse.Builder clear()
Overrides
clearBranchRules()
public ListBranchRulesResponse.Builder clearBranchRules()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBranchRulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListBranchRulesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBranchRulesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBranchRulesResponse.Builder clone()
Overrides
getBranchRules(int index)
public BranchRule getBranchRules(int index)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
index |
int
|
getBranchRulesBuilder(int index)
public BranchRule.Builder getBranchRulesBuilder(int index)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
index |
int
|
getBranchRulesBuilderList()
public List<BranchRule.Builder> getBranchRulesBuilderList()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
getBranchRulesCount()
public int getBranchRulesCount()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Returns |
Type |
Description |
int |
|
getBranchRulesList()
public List<BranchRule> getBranchRulesList()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
getBranchRulesOrBuilder(int index)
public BranchRuleOrBuilder getBranchRulesOrBuilder(int index)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
index |
int
|
getBranchRulesOrBuilderList()
public List<? extends BranchRuleOrBuilder> getBranchRulesOrBuilderList()
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securesourcemanager.v1.BranchRuleOrBuilder> |
|
getDefaultInstanceForType()
public ListBranchRulesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListBranchRulesResponse other)
public ListBranchRulesResponse.Builder mergeFrom(ListBranchRulesResponse other)
public ListBranchRulesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBranchRulesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBranchRulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBranchRules(int index)
public ListBranchRulesResponse.Builder removeBranchRules(int index)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
Parameter |
Name |
Description |
index |
int
|
setBranchRules(int index, BranchRule value)
public ListBranchRulesResponse.Builder setBranchRules(int index, BranchRule value)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
setBranchRules(int index, BranchRule.Builder builderForValue)
public ListBranchRulesResponse.Builder setBranchRules(int index, BranchRule.Builder builderForValue)
The list of branch rules.
repeated .google.cloud.securesourcemanager.v1.BranchRule branch_rules = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBranchRulesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListBranchRulesResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListBranchRulesResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBranchRulesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBranchRulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides