Class ListBranchRulesRequest.Builder (0.24.0)

public static final class ListBranchRulesRequest.Builder extends GeneratedMessageV3.Builder<ListBranchRulesRequest.Builder> implements ListBranchRulesRequestOrBuilder

ListBranchRulesRequest is the request to list branch rules.

Protobuf type google.cloud.securesourcemanager.v1.ListBranchRulesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBranchRulesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

build()

public ListBranchRulesRequest build()
Returns
Type Description
ListBranchRulesRequest

buildPartial()

public ListBranchRulesRequest buildPartial()
Returns
Type Description
ListBranchRulesRequest

clear()

public ListBranchRulesRequest.Builder clear()
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListBranchRulesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBranchRulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

clearPageSize()

public ListBranchRulesRequest.Builder clearPageSize()

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

clearPageToken()

public ListBranchRulesRequest.Builder clearPageToken()

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

clearParent()

public ListBranchRulesRequest.Builder clearParent()

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

clone()

public ListBranchRulesRequest.Builder clone()
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListBranchRulesRequest getDefaultInstanceForType()
Returns
Type Description
ListBranchRulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBranchRulesRequest other)

public ListBranchRulesRequest.Builder mergeFrom(ListBranchRulesRequest other)
Parameter
Name Description
other ListBranchRulesRequest
Returns
Type Description
ListBranchRulesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBranchRulesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListBranchRulesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBranchRulesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListBranchRulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

setPageSize(int value)

public ListBranchRulesRequest.Builder setPageSize(int value)

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListBranchRulesRequest.Builder setPageToken(String value)

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListBranchRulesRequest.Builder setPageTokenBytes(ByteString value)

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListBranchRulesRequest.Builder setParent(String value)

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListBranchRulesRequest.Builder setParentBytes(ByteString value)

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListBranchRulesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListBranchRulesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBranchRulesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBranchRulesRequest.Builder
Overrides