public static final class SearchAssignmentsResponse.Builder extends GeneratedMessageV3.Builder<SearchAssignmentsResponse.Builder> implements SearchAssignmentsResponseOrBuilder
The response for ReservationService.SearchAssignments.
Protobuf type google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllAssignments(Iterable<? extends Assignment> values)
public SearchAssignmentsResponse.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>
|
Returns
addAssignments(Assignment value)
public SearchAssignmentsResponse.Builder addAssignments(Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter
Returns
addAssignments(Assignment.Builder builderForValue)
public SearchAssignmentsResponse.Builder addAssignments(Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter
Returns
addAssignments(int index, Assignment value)
public SearchAssignmentsResponse.Builder addAssignments(int index, Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameters
Returns
addAssignments(int index, Assignment.Builder builderForValue)
public SearchAssignmentsResponse.Builder addAssignments(int index, Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameters
Returns
addAssignmentsBuilder()
public Assignment.Builder addAssignmentsBuilder()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAssignmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchAssignmentsResponse build()
Returns
buildPartial()
public SearchAssignmentsResponse buildPartial()
Returns
clear()
public SearchAssignmentsResponse.Builder clear()
Returns
Overrides
clearAssignments()
public SearchAssignmentsResponse.Builder clearAssignments()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SearchAssignmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public SearchAssignmentsResponse.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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAssignmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SearchAssignmentsResponse.Builder clone()
Returns
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
Returns
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
Returns
getAssignmentsBuilderList()
public List<Assignment.Builder> getAssignmentsBuilderList()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns
getAssignmentsCount()
public int getAssignmentsCount()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns
getAssignmentsList()
public List<Assignment> getAssignmentsList()
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Returns
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
Returns
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 SearchAssignmentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchAssignmentsResponse other)
public SearchAssignmentsResponse.Builder mergeFrom(SearchAssignmentsResponse other)
Parameter
Returns
public SearchAssignmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchAssignmentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAssignmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAssignments(int index)
public SearchAssignmentsResponse.Builder removeAssignments(int index)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameter
Returns
setAssignments(int index, Assignment value)
public SearchAssignmentsResponse.Builder setAssignments(int index, Assignment value)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameters
Returns
setAssignments(int index, Assignment.Builder builderForValue)
public SearchAssignmentsResponse.Builder setAssignments(int index, Assignment.Builder builderForValue)
List of assignments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAssignmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public SearchAssignmentsResponse.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.
|
Returns
setNextPageTokenBytes(ByteString value)
public SearchAssignmentsResponse.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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAssignmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAssignmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides