public static final class ReservationSlotsListResponse.Builder extends GeneratedMessage.Builder<ReservationSlotsListResponse.Builder> implements ReservationSlotsListResponseOrBuilderA list of reservation slots within a single reservation.
Protobuf type google.cloud.compute.v1.ReservationSlotsListResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReservationSlotsListResponse.BuilderImplements
ReservationSlotsListResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllItems(Iterable<? extends ReservationSlot> values)
public ReservationSlotsListResponse.Builder addAllItems(Iterable<? extends ReservationSlot> values)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.ReservationSlot> |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
addItems(ReservationSlot value)
public ReservationSlotsListResponse.Builder addItems(ReservationSlot value)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
addItems(ReservationSlot.Builder builderForValue)
public ReservationSlotsListResponse.Builder addItems(ReservationSlot.Builder builderForValue)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReservationSlot.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
addItems(int index, ReservationSlot value)
public ReservationSlotsListResponse.Builder addItems(int index, ReservationSlot value)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
addItems(int index, ReservationSlot.Builder builderForValue)
public ReservationSlotsListResponse.Builder addItems(int index, ReservationSlot.Builder builderForValue)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ReservationSlot.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
addItemsBuilder()
public ReservationSlot.Builder addItemsBuilder()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
addItemsBuilder(int index)
public ReservationSlot.Builder addItemsBuilder(int index)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
build()
public ReservationSlotsListResponse build()| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse |
|
buildPartial()
public ReservationSlotsListResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse |
|
clear()
public ReservationSlotsListResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
clearId()
public ReservationSlotsListResponse.Builder clearId()The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
clearItems()
public ReservationSlotsListResponse.Builder clearItems()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
clearKind()
public ReservationSlotsListResponse.Builder clearKind()The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
clearNextPageToken()
public ReservationSlotsListResponse.Builder clearNextPageToken()This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
clearSelfLink()
public ReservationSlotsListResponse.Builder clearSelfLink()The server-defined URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
clearWarning()
public ReservationSlotsListResponse.Builder clearWarning()An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
getDefaultInstanceForType()
public ReservationSlotsListResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getItems(int index)
public ReservationSlot getItems(int index)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot |
|
getItemsBuilder(int index)
public ReservationSlot.Builder getItemsBuilder(int index)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
getItemsBuilderList()
public List<ReservationSlot.Builder> getItemsBuilderList()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getItemsCount()
public int getItemsCount()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
int |
|
getItemsList()
public List<ReservationSlot> getItemsList()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
List<ReservationSlot> |
|
getItemsOrBuilder(int index)
public ReservationSlotOrBuilder getItemsOrBuilder(int index)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotOrBuilder |
|
getItemsOrBuilderList()
public List<? extends ReservationSlotOrBuilder> getItemsOrBuilderList()A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.ReservationSlotOrBuilder> |
|
getKind()
public String getKind()The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getNextPageToken()
public String getNextPageToken()This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getSelfLink()
public String getSelfLink()The server-defined URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()The server-defined URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getWarning()
public Warning getWarning()An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns | |
|---|---|
| Type | Description |
Warning |
The warning. |
getWarningBuilder()
public Warning.Builder getWarningBuilder()An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns | |
|---|---|
| Type | Description |
WarningOrBuilder |
|
hasId()
public boolean hasId()The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public boolean hasKind()The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
hasNextPageToken()
public boolean hasNextPageToken()This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nextPageToken field is set. |
hasSelfLink()
public boolean hasSelfLink()The server-defined URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |
hasWarning()
public boolean hasWarning()An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the warning field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReservationSlotsListResponse other)
public ReservationSlotsListResponse.Builder mergeFrom(ReservationSlotsListResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ReservationSlotsListResponse |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReservationSlotsListResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReservationSlotsListResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
mergeWarning(Warning value)
public ReservationSlotsListResponse.Builder mergeWarning(Warning value)An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter | |
|---|---|
| Name | Description |
value |
Warning |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
removeItems(int index)
public ReservationSlotsListResponse.Builder removeItems(int index)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
setId(String value)
public ReservationSlotsListResponse.Builder setId(String value)The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public ReservationSlotsListResponse.Builder setIdBytes(ByteString value)The unique identifier for the resource; defined by the server.
optional string id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setItems(int index, ReservationSlot value)
public ReservationSlotsListResponse.Builder setItems(int index, ReservationSlot value)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
setItems(int index, ReservationSlot.Builder builderForValue)
public ReservationSlotsListResponse.Builder setItems(int index, ReservationSlot.Builder builderForValue)A list of reservation slot resources.
repeated .google.cloud.compute.v1.ReservationSlot items = 100526016;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ReservationSlot.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
setKind(String value)
public ReservationSlotsListResponse.Builder setKind(String value)The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public ReservationSlotsListResponse.Builder setKindBytes(ByteString value)The type of resource. Alwayscompute#reservationSlot for a list of reservation slots.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setNextPageToken(String value)
public ReservationSlotsListResponse.Builder setNextPageToken(String value)This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ReservationSlotsListResponse.Builder setNextPageTokenBytes(ByteString value)This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setSelfLink(String value)
public ReservationSlotsListResponse.Builder setSelfLink(String value)The server-defined URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public ReservationSlotsListResponse.Builder setSelfLinkBytes(ByteString value)The server-defined URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
This builder for chaining. |
setWarning(Warning value)
public ReservationSlotsListResponse.Builder setWarning(Warning value)An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter | |
|---|---|
| Name | Description |
value |
Warning |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|
setWarning(Warning.Builder builderForValue)
public ReservationSlotsListResponse.Builder setWarning(Warning.Builder builderForValue)An informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Warning.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsListResponse.Builder |
|