public static final class QueryConfigurationLicenseUsageRequest.Builder extends GeneratedMessage.Builder<QueryConfigurationLicenseUsageRequest.Builder> implements QueryConfigurationLicenseUsageRequestOrBuilderMessage for requesting license usage per configuration.
Protobuf type google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryConfigurationLicenseUsageRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public QueryConfigurationLicenseUsageRequest build()| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest |
|
buildPartial()
public QueryConfigurationLicenseUsageRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest |
|
clear()
public QueryConfigurationLicenseUsageRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
clearEndTime()
public QueryConfigurationLicenseUsageRequest.Builder clearEndTime()Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
clearName()
public QueryConfigurationLicenseUsageRequest.Builder clearName()Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
This builder for chaining. |
clearStartTime()
public QueryConfigurationLicenseUsageRequest.Builder clearStartTime()Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
getDefaultInstanceForType()
public QueryConfigurationLicenseUsageRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
public String getName()Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getStartTime()
public Timestamp getStartTime()Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasEndTime()
public boolean hasEndTime()Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public QueryConfigurationLicenseUsageRequest.Builder mergeEndTime(Timestamp value)Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
mergeFrom(QueryConfigurationLicenseUsageRequest other)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(QueryConfigurationLicenseUsageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryConfigurationLicenseUsageRequest |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
mergeStartTime(Timestamp value)
public QueryConfigurationLicenseUsageRequest.Builder mergeStartTime(Timestamp value)Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
setEndTime(Timestamp value)
public QueryConfigurationLicenseUsageRequest.Builder setEndTime(Timestamp value)Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public QueryConfigurationLicenseUsageRequest.Builder setEndTime(Timestamp.Builder builderForValue)Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
setName(String value)
public QueryConfigurationLicenseUsageRequest.Builder setName(String value)Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public QueryConfigurationLicenseUsageRequest.Builder setNameBytes(ByteString value)Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
This builder for chaining. |
setStartTime(Timestamp value)
public QueryConfigurationLicenseUsageRequest.Builder setStartTime(Timestamp value)Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public QueryConfigurationLicenseUsageRequest.Builder setStartTime(Timestamp.Builder builderForValue)Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
QueryConfigurationLicenseUsageRequest.Builder |
|