public final class ListBranchRulesResponse extends GeneratedMessageV3 implements ListBranchRulesResponseOrBuilder
ListBranchRulesResponse is the response to listing branchRules.
Protobuf type google.cloud.securesourcemanager.v1.ListBranchRulesResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListBranchRulesResponseImplements
ListBranchRulesResponseOrBuilderStatic Fields
BRANCH_RULES_FIELD_NUMBER
public static final int BRANCH_RULES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListBranchRulesResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ListBranchRulesResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse.Builder |
newBuilder(ListBranchRulesResponse prototype)
public static ListBranchRulesResponse.Builder newBuilder(ListBranchRulesResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ListBranchRulesResponse |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListBranchRulesResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListBranchRulesResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListBranchRulesResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListBranchRulesResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListBranchRulesResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListBranchRulesResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListBranchRulesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListBranchRulesResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<ListBranchRulesResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
Returns | |
---|---|
Type | Description |
BranchRule |
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;
Returns | |
---|---|
Type | Description |
List<BranchRule> |
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 |
Returns | |
---|---|
Type | Description |
BranchRuleOrBuilder |
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()
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse |
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. |
getParserForType()
public Parser<ListBranchRulesResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ListBranchRulesResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ListBranchRulesResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListBranchRulesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ListBranchRulesResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ListBranchRulesResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |