public static final class ListPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListPoliciesResponse.Builder> implements ListPoliciesResponseOrBuilder
Response message for ListPolicies
.
Protobuf type google.iam.v2beta.ListPoliciesResponse
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
addAllPolicies(Iterable<? extends Policy> values)
public ListPoliciesResponse.Builder addAllPolicies(Iterable<? extends Policy> values)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.iam.v2beta.Policy>
|
addPolicies(Policy value)
public ListPoliciesResponse.Builder addPolicies(Policy value)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
value | Policy
|
addPolicies(Policy.Builder builderForValue)
public ListPoliciesResponse.Builder addPolicies(Policy.Builder builderForValue)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
addPolicies(int index, Policy value)
public ListPoliciesResponse.Builder addPolicies(int index, Policy value)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
addPolicies(int index, Policy.Builder builderForValue)
public ListPoliciesResponse.Builder addPolicies(int index, Policy.Builder builderForValue)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
addPoliciesBuilder()
public Policy.Builder addPoliciesBuilder()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
addPoliciesBuilder(int index)
public Policy.Builder addPoliciesBuilder(int index)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPoliciesResponse build()
buildPartial()
public ListPoliciesResponse buildPartial()
clear()
public ListPoliciesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListPoliciesResponse.Builder clearNextPageToken()
A page token that you can use in a ListPoliciesRequest to retrieve the
next page. If this field is omitted, there are no additional pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicies()
public ListPoliciesResponse.Builder clearPolicies()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
clone()
public ListPoliciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A page token that you can use in a ListPoliciesRequest to retrieve the
next page. If this field is omitted, there are no additional pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A page token that you can use in a ListPoliciesRequest to retrieve the
next page. If this field is omitted, there are no additional pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getPolicies(int index)
public Policy getPolicies(int index)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
index | int
|
getPoliciesBuilder(int index)
public Policy.Builder getPoliciesBuilder(int index)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
index | int
|
getPoliciesBuilderList()
public List<Policy.Builder> getPoliciesBuilderList()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
getPoliciesCount()
public int getPoliciesCount()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Returns |
---|
Type | Description |
int | |
getPoliciesList()
public List<Policy> getPoliciesList()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
getPoliciesOrBuilder(int index)
public PolicyOrBuilder getPoliciesOrBuilder(int index)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
index | int
|
getPoliciesOrBuilderList()
public List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Returns |
---|
Type | Description |
List<? extends com.google.iam.v2beta.PolicyOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPoliciesResponse other)
public ListPoliciesResponse.Builder mergeFrom(ListPoliciesResponse other)
public ListPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePolicies(int index)
public ListPoliciesResponse.Builder removePolicies(int index)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListPoliciesResponse.Builder setNextPageToken(String value)
A page token that you can use in a ListPoliciesRequest to retrieve the
next page. If this field is omitted, there are no additional pages.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
A page token that you can use in a ListPoliciesRequest to retrieve the
next page. If this field is omitted, there are no additional pages.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setPolicies(int index, Policy value)
public ListPoliciesResponse.Builder setPolicies(int index, Policy value)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
setPolicies(int index, Policy.Builder builderForValue)
public ListPoliciesResponse.Builder setPolicies(int index, Policy.Builder builderForValue)
Metadata for the policies that are attached to the resource.
repeated .google.iam.v2beta.Policy policies = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides