Class ReportTask.ReportMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportTask.ReportMetadata.Builder>
com.google.analytics.data.v1alpha.ReportTask.ReportMetadata.Builder
- All Implemented Interfaces:
ReportTask.ReportMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReportTask.ReportMetadata
public static final class ReportTask.ReportMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReportTask.ReportMetadata.Builder>
implements ReportTask.ReportMetadataOrBuilder
The report metadata for a specific report task.Protobuf type
google.analytics.data.v1alpha.ReportTask.ReportMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.intOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanhasState()Output only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBeginCreatingTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBeginCreatingTime(com.google.protobuf.Timestamp value) Output only.setBeginCreatingTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCreationQuotaTokensCharged(int value) Output only.setErrorMessage(String value) Output only.setErrorMessageBytes(com.google.protobuf.ByteString value) Output only.Output only.setStateValue(int value) Output only.setTaskRowCount(int value) Output only.setTotalRowCount(int value) Output only.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<ReportTask.ReportMetadata.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<ReportTask.ReportMetadata.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<ReportTask.ReportMetadata.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<ReportTask.ReportMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReportTask.ReportMetadata.Builder>
-
mergeFrom
public ReportTask.ReportMetadata.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<ReportTask.ReportMetadata.Builder>- Throws:
IOException
-
hasState
public boolean hasState()Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- Whether the state field is set.
-
getStateValue
public int getStateValue()Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The state.
-
setState
Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state for this report task.
optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasBeginCreatingTime
public boolean hasBeginCreatingTime()Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBeginCreatingTimein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- Whether the beginCreatingTime field is set.
-
getBeginCreatingTime
public com.google.protobuf.Timestamp getBeginCreatingTime()Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBeginCreatingTimein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The beginCreatingTime.
-
setBeginCreatingTime
Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setBeginCreatingTime
public ReportTask.ReportMetadata.Builder setBeginCreatingTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeBeginCreatingTime
public ReportTask.ReportMetadata.Builder mergeBeginCreatingTime(com.google.protobuf.Timestamp value) Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearBeginCreatingTime
Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBeginCreatingTimeBuilder
public com.google.protobuf.Timestamp.Builder getBeginCreatingTimeBuilder()Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBeginCreatingTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getBeginCreatingTimeOrBuilder()Output only. The time when `CreateReportTask` was called and the report began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBeginCreatingTimeOrBuilderin interfaceReportTask.ReportMetadataOrBuilder
-
getCreationQuotaTokensCharged
public int getCreationQuotaTokensCharged()Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the `CREATING` state, this tokens charge will be fixed once a report task enters the `ACTIVE` or `FAILED` state.
int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationQuotaTokensChargedin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The creationQuotaTokensCharged.
-
setCreationQuotaTokensCharged
Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the `CREATING` state, this tokens charge will be fixed once a report task enters the `ACTIVE` or `FAILED` state.
int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The creationQuotaTokensCharged to set.- Returns:
- This builder for chaining.
-
clearCreationQuotaTokensCharged
Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the `CREATING` state, this tokens charge will be fixed once a report task enters the `ACTIVE` or `FAILED` state.
int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasTaskRowCount
public boolean hasTaskRowCount()Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize `task_row_count` for pagination within the confines of their existing report.
optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTaskRowCountin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- Whether the taskRowCount field is set.
-
getTaskRowCount
public int getTaskRowCount()Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize `task_row_count` for pagination within the confines of their existing report.
optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTaskRowCountin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The taskRowCount.
-
setTaskRowCount
Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize `task_row_count` for pagination within the confines of their existing report.
optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The taskRowCount to set.- Returns:
- This builder for chaining.
-
clearTaskRowCount
Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize `task_row_count` for pagination within the confines of their existing report.
optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasErrorMessage
public boolean hasErrorMessage()Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorMessagein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorMessagein interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorMessageBytesin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setErrorMessageBytes
Output only. Error message is populated if a report task fails during creation.
optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
hasTotalRowCount
public boolean hasTotalRowCount()Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the `total_row_count`. The `task_row_count` represents the number of rows specifically pertaining to the current report, whereas `total_row_count` encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's `task_row_count` is 20, displaying the data from the first 20 rows. Simultaneously, the `total_row_count` is 30, indicating the presence of data for all 30 rows. The `task_row_count` can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.
optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTotalRowCountin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- Whether the totalRowCount field is set.
-
getTotalRowCount
public int getTotalRowCount()Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the `total_row_count`. The `task_row_count` represents the number of rows specifically pertaining to the current report, whereas `total_row_count` encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's `task_row_count` is 20, displaying the data from the first 20 rows. Simultaneously, the `total_row_count` is 30, indicating the presence of data for all 30 rows. The `task_row_count` can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.
optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalRowCountin interfaceReportTask.ReportMetadataOrBuilder- Returns:
- The totalRowCount.
-
setTotalRowCount
Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the `total_row_count`. The `task_row_count` represents the number of rows specifically pertaining to the current report, whereas `total_row_count` encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's `task_row_count` is 20, displaying the data from the first 20 rows. Simultaneously, the `total_row_count` is 30, indicating the presence of data for all 30 rows. The `task_row_count` can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.
optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalRowCount to set.- Returns:
- This builder for chaining.
-
clearTotalRowCount
Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the `total_row_count`. The `task_row_count` represents the number of rows specifically pertaining to the current report, whereas `total_row_count` encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's `task_row_count` is 20, displaying the data from the first 20 rows. Simultaneously, the `total_row_count` is 30, indicating the presence of data for all 30 rows. The `task_row_count` can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.
optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-