public static final class QueryConfigurationLicenseUsageRequest.Builder extends GeneratedMessageV3.Builder<QueryConfigurationLicenseUsageRequest.Builder> implements QueryConfigurationLicenseUsageRequestOrBuilder
Message for requesting license usage per configuration.
Protobuf type google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryConfigurationLicenseUsageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public QueryConfigurationLicenseUsageRequest build()
buildPartial()
public QueryConfigurationLicenseUsageRequest buildPartial()
clear()
public QueryConfigurationLicenseUsageRequest.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public QueryConfigurationLicenseUsageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public QueryConfigurationLicenseUsageRequest.Builder clearName()
Required. The resource path of the Configuration.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryConfigurationLicenseUsageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public QueryConfigurationLicenseUsageRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryConfigurationLicenseUsageRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(QueryConfigurationLicenseUsageRequest other)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(QueryConfigurationLicenseUsageRequest other)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryConfigurationLicenseUsageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public QueryConfigurationLicenseUsageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryConfigurationLicenseUsageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryConfigurationLicenseUsageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides