public final class CreateReportingDataAnnotationRequest extends GeneratedMessage implements CreateReportingDataAnnotationRequestOrBuilderRequest message for CreateReportingDataAnnotation RPC.
Protobuf type google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateReportingDataAnnotationRequestStatic Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REPORTING_DATA_ANNOTATION_FIELD_NUMBER
public static final int REPORTING_DATA_ANNOTATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CreateReportingDataAnnotationRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CreateReportingDataAnnotationRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
newBuilder(CreateReportingDataAnnotationRequest prototype)
public static CreateReportingDataAnnotationRequest.Builder newBuilder(CreateReportingDataAnnotationRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CreateReportingDataAnnotationRequest |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static CreateReportingDataAnnotationRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CreateReportingDataAnnotationRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CreateReportingDataAnnotationRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CreateReportingDataAnnotationRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CreateReportingDataAnnotationRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CreateReportingDataAnnotationRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateReportingDataAnnotationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CreateReportingDataAnnotationRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CreateReportingDataAnnotationRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CreateReportingDataAnnotationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest |
|
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. |
getParserForType()
public Parser<CreateReportingDataAnnotationRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CreateReportingDataAnnotationRequest> |
|
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. |
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 |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CreateReportingDataAnnotationRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CreateReportingDataAnnotationRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
toBuilder()
public CreateReportingDataAnnotationRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CreateReportingDataAnnotationRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|