public static final class ListAssignmentsResponse.Builder extends GeneratedMessageV3.Builder<ListAssignmentsResponse.Builder> implements ListAssignmentsResponseOrBuilder
The response for
ReservationService.ListAssignments.
Protobuf type google.cloud.bigquery.reservation.v1.ListAssignmentsResponse
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
addAllAssignments(Iterable<? extends Assignment> values)
public ListAssignmentsResponse.Builder addAllAssignments(Iterable<? extends Assignment> values)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.bigquery.reservation.v1.Assignment>
|
addAssignments(Assignment value)
public ListAssignmentsResponse.Builder addAssignments(Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
addAssignments(Assignment.Builder builderForValue)
public ListAssignmentsResponse.Builder addAssignments(Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
addAssignments(int index, Assignment value)
public ListAssignmentsResponse.Builder addAssignments(int index, Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
addAssignments(int index, Assignment.Builder builderForValue)
public ListAssignmentsResponse.Builder addAssignments(int index, Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
addAssignmentsBuilder()
public Assignment.Builder addAssignmentsBuilder()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
addAssignmentsBuilder(int index)
public Assignment.Builder addAssignmentsBuilder(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAssignmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAssignmentsResponse build()
buildPartial()
public ListAssignmentsResponse buildPartial()
clear()
public ListAssignmentsResponse.Builder clear()
Overrides
clearAssignments()
public ListAssignmentsResponse.Builder clearAssignments()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAssignmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAssignmentsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAssignmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAssignmentsResponse.Builder clone()
Overrides
getAssignments(int index)
public Assignment getAssignments(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
index |
int
|
getAssignmentsBuilder(int index)
public Assignment.Builder getAssignmentsBuilder(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
index |
int
|
getAssignmentsBuilderList()
public List<Assignment.Builder> getAssignmentsBuilderList()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
getAssignmentsCount()
public int getAssignmentsCount()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns |
Type |
Description |
int |
|
getAssignmentsList()
public List<Assignment> getAssignmentsList()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
getAssignmentsOrBuilder(int index)
public AssignmentOrBuilder getAssignmentsOrBuilder(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
index |
int
|
getAssignmentsOrBuilderList()
public List<? extends AssignmentOrBuilder> getAssignmentsOrBuilderList()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.bigquery.reservation.v1.AssignmentOrBuilder> |
|
getDefaultInstanceForType()
public ListAssignmentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
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(ListAssignmentsResponse other)
public ListAssignmentsResponse.Builder mergeFrom(ListAssignmentsResponse other)
public ListAssignmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAssignmentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAssignmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAssignments(int index)
public ListAssignmentsResponse.Builder removeAssignments(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter |
Name |
Description |
index |
int
|
setAssignments(int index, Assignment value)
public ListAssignmentsResponse.Builder setAssignments(int index, Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
setAssignments(int index, Assignment.Builder builderForValue)
public ListAssignmentsResponse.Builder setAssignments(int index, Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAssignmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAssignmentsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListAssignmentsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
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 ListAssignmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAssignmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides