public static final class CreateReportingDataAnnotationRequest.Builder extends GeneratedMessage.Builder<CreateReportingDataAnnotationRequest.Builder> implements CreateReportingDataAnnotationRequestOrBuilderRequest message for CreateReportingDataAnnotation RPC.
Protobuf type google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateReportingDataAnnotationRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateReportingDataAnnotationRequest build()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
buildPartial()
public CreateReportingDataAnnotationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
clear()
public CreateReportingDataAnnotationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
clearParent()
public CreateReportingDataAnnotationRequest.Builder clearParent()Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
This builder for chaining. |
clearReportingDataAnnotation()
public CreateReportingDataAnnotationRequest.Builder clearReportingDataAnnotation()Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
getDefaultInstanceForType()
public CreateReportingDataAnnotationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getReportingDataAnnotation()
public ReportingDataAnnotation getReportingDataAnnotation()Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportingDataAnnotation |
The reportingDataAnnotation. |
getReportingDataAnnotationBuilder()
public ReportingDataAnnotation.Builder getReportingDataAnnotationBuilder()Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportingDataAnnotation.Builder |
|
getReportingDataAnnotationOrBuilder()
public ReportingDataAnnotationOrBuilder getReportingDataAnnotationOrBuilder()Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportingDataAnnotationOrBuilder |
|
hasReportingDataAnnotation()
public boolean hasReportingDataAnnotation()Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reportingDataAnnotation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateReportingDataAnnotationRequest other)
public CreateReportingDataAnnotationRequest.Builder mergeFrom(CreateReportingDataAnnotationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateReportingDataAnnotationRequest |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateReportingDataAnnotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateReportingDataAnnotationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
mergeReportingDataAnnotation(ReportingDataAnnotation value)
public CreateReportingDataAnnotationRequest.Builder mergeReportingDataAnnotation(ReportingDataAnnotation value)Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReportingDataAnnotation |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
setParent(String value)
public CreateReportingDataAnnotationRequest.Builder setParent(String value)Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateReportingDataAnnotationRequest.Builder setParentBytes(ByteString value)Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
This builder for chaining. |
setReportingDataAnnotation(ReportingDataAnnotation value)
public CreateReportingDataAnnotationRequest.Builder setReportingDataAnnotation(ReportingDataAnnotation value)Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReportingDataAnnotation |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
setReportingDataAnnotation(ReportingDataAnnotation.Builder builderForValue)
public CreateReportingDataAnnotationRequest.Builder setReportingDataAnnotation(ReportingDataAnnotation.Builder builderForValue)Required. The Reporting Data Annotation to create.
.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReportingDataAnnotation.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|