Package com.google.cloud.channel.v1
Class FetchReportResultsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
com.google.cloud.channel.v1.FetchReportResultsRequest.Builder
- All Implemented Interfaces:
FetchReportResultsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FetchReportResultsRequest
public static final class FetchReportResultsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
implements FetchReportResultsRequestOrBuilder
Request message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].Protobuf type
google.cloud.channel.v1.FetchReportResultsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitionKeys(Iterable<String> values) Optional.addPartitionKeys(String value) Optional.addPartitionKeysBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional.Optional.com.google.protobuf.ByteStringOptional.getPartitionKeys(int index) Optional.com.google.protobuf.ByteStringgetPartitionKeysBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setPageSize(int value) Optional.setPageToken(String value) Optional.setPageTokenBytes(com.google.protobuf.ByteString value) Optional.setPartitionKeys(int index, String value) Optional.setReportJob(String value) Required.setReportJobBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchReportResultsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FetchReportResultsRequest.Builder>
-
mergeFrom
public FetchReportResultsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchReportResultsRequest.Builder>- Throws:
IOException
-
getReportJob
Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getReportJobin interfaceFetchReportResultsRequestOrBuilder- Returns:
- The reportJob.
-
getReportJobBytes
public com.google.protobuf.ByteString getReportJobBytes()Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getReportJobBytesin interfaceFetchReportResultsRequestOrBuilder- Returns:
- The bytes for reportJob.
-
setReportJob
Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The reportJob to set.- Returns:
- This builder for chaining.
-
clearReportJob
Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setReportJobBytes
Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for reportJob to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time). The maximum value is 30,000; the server will change larger values to 30,000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceFetchReportResultsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time). The maximum value is 30,000; the server will change larger values to 30,000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time). The maximum value is 30,000; the server will change larger values to 30,000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPageToken
Optional. A token that specifies a page of results beyond the first page. Obtained through [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenin interfaceFetchReportResultsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Optional. A token that specifies a page of results beyond the first page. Obtained through [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenBytesin interfaceFetchReportResultsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Optional. A token that specifies a page of results beyond the first page. Obtained through [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Optional. A token that specifies a page of results beyond the first page. Obtained through [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPageTokenBytes
Optional. A token that specifies a page of results beyond the first page. Obtained through [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getPartitionKeysList
public com.google.protobuf.ProtocolStringList getPartitionKeysList()Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionKeysListin interfaceFetchReportResultsRequestOrBuilder- Returns:
- A list containing the partitionKeys.
-
getPartitionKeysCount
public int getPartitionKeysCount()Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionKeysCountin interfaceFetchReportResultsRequestOrBuilder- Returns:
- The count of partitionKeys.
-
getPartitionKeys
Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionKeysin interfaceFetchReportResultsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionKeys at the given index.
-
getPartitionKeysBytes
public com.google.protobuf.ByteString getPartitionKeysBytes(int index) Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionKeysBytesin interfaceFetchReportResultsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionKeys at the given index.
-
setPartitionKeys
Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The partitionKeys to set.- Returns:
- This builder for chaining.
-
addPartitionKeys
Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The partitionKeys to add.- Returns:
- This builder for chaining.
-
addAllPartitionKeys
Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The partitionKeys to add.- Returns:
- This builder for chaining.
-
clearPartitionKeys
Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addPartitionKeysBytes
public FetchReportResultsRequest.Builder addPartitionKeysBytes(com.google.protobuf.ByteString value) Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.
repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the partitionKeys to add.- Returns:
- This builder for chaining.
-