- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.1
- 2.1.12
public static final class ListSkusRequest.Builder extends GeneratedMessageV3.Builder<ListSkusRequest.Builder> implements ListSkusRequestOrBuilder
Request message for ListSkus
.
Protobuf type google.cloud.billing.v1.ListSkusRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListSkusRequest.BuilderImplements
ListSkusRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSkusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
build()
public ListSkusRequest build()
Returns | |
---|---|
Type | Description |
ListSkusRequest |
buildPartial()
public ListSkusRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListSkusRequest |
clear()
public ListSkusRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ListSkusRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListSkusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSkusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
clearPageSize()
public ListSkusRequest.Builder clearPageSize()
Requested page size. Defaults to 5000.
int32 page_size = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ListSkusRequest.Builder |
clone()
public ListSkusRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for currencyCode. |
getDefaultInstanceForType()
public ListSkusRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListSkusRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getPageSize()
public int getPageSize()
Requested page size. Defaults to 5000.
int32 page_size = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
mergeFrom(ListSkusRequest other)
public ListSkusRequest.Builder mergeFrom(ListSkusRequest other)
Parameter | |
---|---|
Name | Description |
other | ListSkusRequest |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSkusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListSkusRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSkusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
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 | |
---|---|
Name | Description |
value | String The currencyCode to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for currencyCode to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListSkusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
setPageSize(int value)
public ListSkusRequest.Builder setPageSize(int value)
Requested page size. Defaults to 5000.
int32 page_size = 5;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSkusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListSkusRequest.Builder |