Package com.google.cloud.billing.v1
Class ListSkusRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
com.google.cloud.billing.v1.ListSkusRequest.Builder
- All Implemented Interfaces:
ListSkusRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListSkusRequest
public static final class ListSkusRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
implements ListSkusRequestOrBuilder
Request message for `ListSkus`.Protobuf type
google.cloud.billing.v1.ListSkusRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The ISO 4217 currency code for the pricing info in the response proto.Optional exclusive end time of the time range for which the pricing versions will be returned.Requested page size.A token identifying a page of results to return.Required.Optional inclusive start time of the time range for which the pricing versions will be returned.The ISO 4217 currency code for the pricing info in the response proto.com.google.protobuf.ByteStringThe ISO 4217 currency code for the pricing info in the response proto.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOptional exclusive end time of the time range for which the pricing versions will be returned.com.google.protobuf.Timestamp.BuilderOptional exclusive end time of the time range for which the pricing versions will be returned.com.google.protobuf.TimestampOrBuilderOptional exclusive end time of the time range for which the pricing versions will be returned.intRequested page size.A token identifying a page of results to return.com.google.protobuf.ByteStringA token identifying a page of results to return.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOptional inclusive start time of the time range for which the pricing versions will be returned.com.google.protobuf.Timestamp.BuilderOptional inclusive start time of the time range for which the pricing versions will be returned.com.google.protobuf.TimestampOrBuilderOptional inclusive start time of the time range for which the pricing versions will be returned.booleanOptional exclusive end time of the time range for which the pricing versions will be returned.booleanOptional inclusive start time of the time range for which the pricing versions will be returned.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Optional exclusive end time of the time range for which the pricing versions will be returned.mergeFrom(ListSkusRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Optional inclusive start time of the time range for which the pricing versions will be returned.setCurrencyCode(String value) The ISO 4217 currency code for the pricing info in the response proto.setCurrencyCodeBytes(com.google.protobuf.ByteString value) The ISO 4217 currency code for the pricing info in the response proto.setEndTime(com.google.protobuf.Timestamp value) Optional exclusive end time of the time range for which the pricing versions will be returned.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional exclusive end time of the time range for which the pricing versions will be returned.setPageSize(int value) Requested page size.setPageToken(String value) A token identifying a page of results to return.setPageTokenBytes(com.google.protobuf.ByteString value) A token identifying a page of results to return.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setStartTime(com.google.protobuf.Timestamp value) Optional inclusive start time of the time range for which the pricing versions will be returned.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional inclusive start time of the time range for which the pricing versions will be returned.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListSkusRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListSkusRequest.Builder>
-
mergeFrom
public ListSkusRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListSkusRequest.Builder>- Throws:
IOException
-
getParent
Required. The name of the service. Example: "services/6F81-5844-456A"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListSkusRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The name of the service. Example: "services/6F81-5844-456A"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListSkusRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The name of the service. Example: "services/6F81-5844-456A"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The name of the service. Example: "services/6F81-5844-456A"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The name of the service. Example: "services/6F81-5844-456A"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasStartTimein interfaceListSkusRequestOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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;- Specified by:
getStartTimein interfaceListSkusRequestOrBuilder- Returns:
- The startTime.
-
setStartTime
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; -
setStartTime
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; -
mergeStartTime
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; -
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; -
getStartTimeBuilder
public com.google.protobuf.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; -
getStartTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getStartTimeOrBuilderin interfaceListSkusRequestOrBuilder
-
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;- Specified by:
hasEndTimein interfaceListSkusRequestOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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;- Specified by:
getEndTimein interfaceListSkusRequestOrBuilder- Returns:
- The endTime.
-
setEndTime
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; -
setEndTime
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; -
mergeEndTime
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; -
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; -
getEndTimeBuilder
public com.google.protobuf.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; -
getEndTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getEndTimeOrBuilderin interfaceListSkusRequestOrBuilder
-
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;- Specified by:
getCurrencyCodein interfaceListSkusRequestOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.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;- Specified by:
getCurrencyCodeBytesin interfaceListSkusRequestOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
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;- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setCurrencyCodeBytes
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;- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Requested page size. Defaults to 5000.
int32 page_size = 5;- Specified by:
getPageSizein interfaceListSkusRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Requested page size. Defaults to 5000.
int32 page_size = 5;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Requested page size. Defaults to 5000.
int32 page_size = 5;- Returns:
- This builder for chaining.
-
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;- Specified by:
getPageTokenin interfaceListSkusRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.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;- Specified by:
getPageTokenBytesin interfaceListSkusRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPageTokenBytes
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-