Class QueryConfigurationLicenseUsageRequest.Builder (0.1.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryConfigurationLicenseUsageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
Overrides

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
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];

Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryConfigurationLicenseUsageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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) = { ... }

Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryConfigurationLicenseUsageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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];

Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder

clone()

public QueryConfigurationLicenseUsageRequest.Builder clone()
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryConfigurationLicenseUsageRequest getDefaultInstanceForType()
Returns
Type Description
QueryConfigurationLicenseUsageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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];

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryConfigurationLicenseUsageRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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];

Parameter
Name Description
value Timestamp
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryConfigurationLicenseUsageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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];

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

setField(Descriptors.FieldDescriptor field, Object value)

public QueryConfigurationLicenseUsageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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.

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 ByteString

The bytes for name to set.

Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryConfigurationLicenseUsageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
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];

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

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryConfigurationLicenseUsageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryConfigurationLicenseUsageRequest.Builder
Overrides