public static final class ReportPropertyUsageRequest.Builder extends GeneratedMessage.Builder<ReportPropertyUsageRequest.Builder> implements ReportPropertyUsageRequestOrBuilderRequest message for ReportPropertyUsage RPC.
Protobuf type google.marketingplatform.admin.v1alpha.ReportPropertyUsageRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportPropertyUsageRequest.BuilderImplements
ReportPropertyUsageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReportPropertyUsageRequest build()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest |
|
buildPartial()
public ReportPropertyUsageRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest |
|
clear()
public ReportPropertyUsageRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
|
clearMonth()
public ReportPropertyUsageRequest.Builder clearMonth()Required. The target month to list property usages.
Format: YYYY-MM. For example, "2025-05"
string month = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |
clearOrganization()
public ReportPropertyUsageRequest.Builder clearOrganization()Required. Specifies the organization whose property usage will be listed.
Format: organizations/{org_id}
string organization = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ReportPropertyUsageRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMonth()
public String getMonth()Required. The target month to list property usages.
Format: YYYY-MM. For example, "2025-05"
string month = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The month. |
getMonthBytes()
public ByteString getMonthBytes()Required. The target month to list property usages.
Format: YYYY-MM. For example, "2025-05"
string month = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for month. |
getOrganization()
public String getOrganization()Required. Specifies the organization whose property usage will be listed.
Format: organizations/{org_id}
string organization = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The organization. |
getOrganizationBytes()
public ByteString getOrganizationBytes()Required. Specifies the organization whose property usage will be listed.
Format: organizations/{org_id}
string organization = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for organization. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReportPropertyUsageRequest other)
public ReportPropertyUsageRequest.Builder mergeFrom(ReportPropertyUsageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ReportPropertyUsageRequest |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportPropertyUsageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportPropertyUsageRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
|
setMonth(String value)
public ReportPropertyUsageRequest.Builder setMonth(String value)Required. The target month to list property usages.
Format: YYYY-MM. For example, "2025-05"
string month = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe month to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |
setMonthBytes(ByteString value)
public ReportPropertyUsageRequest.Builder setMonthBytes(ByteString value)Required. The target month to list property usages.
Format: YYYY-MM. For example, "2025-05"
string month = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for month to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |
setOrganization(String value)
public ReportPropertyUsageRequest.Builder setOrganization(String value)Required. Specifies the organization whose property usage will be listed.
Format: organizations/{org_id}
string organization = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe organization to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |
setOrganizationBytes(ByteString value)
public ReportPropertyUsageRequest.Builder setOrganizationBytes(ByteString value)Required. Specifies the organization whose property usage will be listed.
Format: organizations/{org_id}
string organization = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for organization to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageRequest.Builder |
This builder for chaining. |