Class ListSkusRequest.Builder (2.3.2)

public static final class ListSkusRequest.Builder extends GeneratedMessageV3.Builder<ListSkusRequest.Builder> implements ListSkusRequestOrBuilder

Request message for ListSkus.

Protobuf type google.cloud.billing.v1.ListSkusRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSkusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

build()

public ListSkusRequest build()
Returns
TypeDescription
ListSkusRequest

buildPartial()

public ListSkusRequest buildPartial()
Returns
TypeDescription
ListSkusRequest

clear()

public ListSkusRequest.Builder clear()
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

clearCurrencyCode()

public ListSkusRequest.Builder clearCurrencyCode()

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

string currency_code = 4;

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

clearEndTime()

public ListSkusRequest.Builder clearEndTime()

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
ListSkusRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ListSkusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSkusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

clearPageSize()

public ListSkusRequest.Builder clearPageSize()

Requested page size. Defaults to 5000.

int32 page_size = 5;

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

clearPageToken()

public ListSkusRequest.Builder clearPageToken()

A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListSkus call. If unspecified, the first page of results is returned.

string page_token = 6;

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

clearParent()

public ListSkusRequest.Builder clearParent()

Required. The name of the service. Example: "services/DA34-426B-A397"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

clearStartTime()

public ListSkusRequest.Builder clearStartTime()

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
ListSkusRequest.Builder

clone()

public ListSkusRequest.Builder clone()
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

getCurrencyCode()

public String getCurrencyCode()

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

string currency_code = 4;

Returns
TypeDescription
String

The currencyCode.

getCurrencyCodeBytes()

public ByteString getCurrencyCodeBytes()

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

string currency_code = 4;

Returns
TypeDescription
ByteString

The bytes for currencyCode.

getDefaultInstanceForType()

public ListSkusRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSkusRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getPageSize()

public int getPageSize()

Requested page size. Defaults to 5000.

int32 page_size = 5;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListSkus call. If unspecified, the first page of results is returned.

string page_token = 6;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListSkus call. If unspecified, the first page of results is returned.

string page_token = 6;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the service. Example: "services/DA34-426B-A397"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the service. Example: "services/DA34-426B-A397"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getStartTime()

public Timestamp getStartTime()

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public ListSkusRequest.Builder mergeEndTime(Timestamp value)

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListSkusRequest.Builder

mergeFrom(ListSkusRequest other)

public ListSkusRequest.Builder mergeFrom(ListSkusRequest other)
Parameter
NameDescription
otherListSkusRequest
Returns
TypeDescription
ListSkusRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSkusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSkusRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

mergeStartTime(Timestamp value)

public ListSkusRequest.Builder mergeStartTime(Timestamp value)

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListSkusRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSkusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

setCurrencyCode(String value)

public ListSkusRequest.Builder setCurrencyCode(String value)

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

string currency_code = 4;

Parameter
NameDescription
valueString

The currencyCode to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setCurrencyCodeBytes(ByteString value)

public ListSkusRequest.Builder setCurrencyCodeBytes(ByteString value)

The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.

string currency_code = 4;

Parameter
NameDescription
valueByteString

The bytes for currencyCode to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setEndTime(Timestamp value)

public ListSkusRequest.Builder setEndTime(Timestamp value)

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListSkusRequest.Builder

setEndTime(Timestamp.Builder builderForValue)

public ListSkusRequest.Builder setEndTime(Timestamp.Builder builderForValue)

Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListSkusRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSkusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

setPageSize(int value)

public ListSkusRequest.Builder setPageSize(int value)

Requested page size. Defaults to 5000.

int32 page_size = 5;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSkusRequest.Builder setPageToken(String value)

A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListSkus call. If unspecified, the first page of results is returned.

string page_token = 6;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSkusRequest.Builder setPageTokenBytes(ByteString value)

A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListSkus call. If unspecified, the first page of results is returned.

string page_token = 6;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setParent(String value)

public ListSkusRequest.Builder setParent(String value)

Required. The name of the service. Example: "services/DA34-426B-A397"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSkusRequest.Builder setParentBytes(ByteString value)

Required. The name of the service. Example: "services/DA34-426B-A397"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListSkusRequest.Builder

This builder for chaining.

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

public ListSkusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSkusRequest.Builder
Overrides

setStartTime(Timestamp value)

public ListSkusRequest.Builder setStartTime(Timestamp value)

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListSkusRequest.Builder

setStartTime(Timestamp.Builder builderForValue)

public ListSkusRequest.Builder setStartTime(Timestamp.Builder builderForValue)

Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListSkusRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSkusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSkusRequest.Builder
Overrides