public static final class CommitmentList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder> implements CommitmentListOrBuilder
Contains a list of Commitment resources.Protobuf type
google.cloud.compute.v1.CommitmentList| Modifier and Type | Method and Description |
|---|---|
CommitmentList.Builder |
addAllItems(Iterable<? extends Commitment> values)
A list of Commitment resources.
|
CommitmentList.Builder |
addItems(Commitment.Builder builderForValue)
A list of Commitment resources.
|
CommitmentList.Builder |
addItems(Commitment value)
A list of Commitment resources.
|
CommitmentList.Builder |
addItems(int index,
Commitment.Builder builderForValue)
A list of Commitment resources.
|
CommitmentList.Builder |
addItems(int index,
Commitment value)
A list of Commitment resources.
|
Commitment.Builder |
addItemsBuilder()
A list of Commitment resources.
|
Commitment.Builder |
addItemsBuilder(int index)
A list of Commitment resources.
|
CommitmentList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitmentList |
build() |
CommitmentList |
buildPartial() |
CommitmentList.Builder |
clear() |
CommitmentList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitmentList.Builder |
clearId()
[Output Only] Unique identifier for the resource; defined by the server.
|
CommitmentList.Builder |
clearItems()
A list of Commitment resources.
|
CommitmentList.Builder |
clearKind()
[Output Only] Type of resource.
|
CommitmentList.Builder |
clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
CommitmentList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitmentList.Builder |
clearSelfLink()
[Output Only] Server-defined URL for this resource.
|
CommitmentList.Builder |
clearWarning()
[Output Only] Informational warning message.
|
CommitmentList.Builder |
clone() |
CommitmentList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
com.google.protobuf.ByteString |
getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
|
Commitment |
getItems(int index)
A list of Commitment resources.
|
Commitment.Builder |
getItemsBuilder(int index)
A list of Commitment resources.
|
List<Commitment.Builder> |
getItemsBuilderList()
A list of Commitment resources.
|
int |
getItemsCount()
A list of Commitment resources.
|
List<Commitment> |
getItemsList()
A list of Commitment resources.
|
CommitmentOrBuilder |
getItemsOrBuilder(int index)
A list of Commitment resources.
|
List<? extends CommitmentOrBuilder> |
getItemsOrBuilderList()
A list of Commitment resources.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
[Output Only] Server-defined URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
|
Warning |
getWarning()
[Output Only] Informational warning message.
|
Warning.Builder |
getWarningBuilder()
[Output Only] Informational warning message.
|
WarningOrBuilder |
getWarningOrBuilder()
[Output Only] Informational warning message.
|
boolean |
hasId()
[Output Only] Unique identifier for the resource; defined by the server.
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for this resource.
|
boolean |
hasWarning()
[Output Only] Informational warning message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitmentList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommitmentList.Builder |
mergeFrom(CommitmentList other) |
CommitmentList.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommitmentList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitmentList.Builder |
mergeWarning(Warning value)
[Output Only] Informational warning message.
|
CommitmentList.Builder |
removeItems(int index)
A list of Commitment resources.
|
CommitmentList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitmentList.Builder |
setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
|
CommitmentList.Builder |
setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
|
CommitmentList.Builder |
setItems(int index,
Commitment.Builder builderForValue)
A list of Commitment resources.
|
CommitmentList.Builder |
setItems(int index,
Commitment value)
A list of Commitment resources.
|
CommitmentList.Builder |
setKind(String value)
[Output Only] Type of resource.
|
CommitmentList.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
CommitmentList.Builder |
setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests.
|
CommitmentList.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests.
|
CommitmentList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitmentList.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
|
CommitmentList.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
|
CommitmentList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitmentList.Builder |
setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
|
CommitmentList.Builder |
setWarning(Warning value)
[Output Only] Informational warning message.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommitmentList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommitmentList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommitmentList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitmentList.Builder>public CommitmentList.Builder mergeFrom(CommitmentList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public CommitmentList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitmentList.Builder>IOExceptionpublic boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;hasId in interface CommitmentListOrBuilderpublic String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getId in interface CommitmentListOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getIdBytes in interface CommitmentListOrBuilderpublic CommitmentList.Builder setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;value - The id to set.public CommitmentList.Builder clearId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;public CommitmentList.Builder setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;value - The bytes for id to set.public List<Commitment> getItemsList()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;getItemsList in interface CommitmentListOrBuilderpublic int getItemsCount()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;getItemsCount in interface CommitmentListOrBuilderpublic Commitment getItems(int index)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;getItems in interface CommitmentListOrBuilderpublic CommitmentList.Builder setItems(int index, Commitment value)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder setItems(int index, Commitment.Builder builderForValue)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder addItems(Commitment value)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder addItems(int index, Commitment value)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder addItems(Commitment.Builder builderForValue)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder addItems(int index, Commitment.Builder builderForValue)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder addAllItems(Iterable<? extends Commitment> values)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder clearItems()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentList.Builder removeItems(int index)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public Commitment.Builder getItemsBuilder(int index)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public CommitmentOrBuilder getItemsOrBuilder(int index)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;getItemsOrBuilder in interface CommitmentListOrBuilderpublic List<? extends CommitmentOrBuilder> getItemsOrBuilderList()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;getItemsOrBuilderList in interface CommitmentListOrBuilderpublic Commitment.Builder addItemsBuilder()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public Commitment.Builder addItemsBuilder(int index)
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public List<Commitment.Builder> getItemsBuilderList()
A list of Commitment resources.
repeated .google.cloud.compute.v1.Commitment items = 100526016;public boolean hasKind()
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;hasKind in interface CommitmentListOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;getKind in interface CommitmentListOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;getKindBytes in interface CommitmentListOrBuilderpublic CommitmentList.Builder setKind(String value)
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;value - The kind to set.public CommitmentList.Builder clearKind()
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;public CommitmentList.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;hasNextPageToken in interface CommitmentListOrBuilderpublic String getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;getNextPageToken in interface CommitmentListOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;getNextPageTokenBytes in interface CommitmentListOrBuilderpublic CommitmentList.Builder setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;value - The nextPageToken to set.public CommitmentList.Builder clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;public CommitmentList.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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;value - The bytes for nextPageToken to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface CommitmentListOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLink in interface CommitmentListOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface CommitmentListOrBuilderpublic CommitmentList.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public CommitmentList.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;public CommitmentList.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;hasWarning in interface CommitmentListOrBuilderpublic Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;getWarning in interface CommitmentListOrBuilderpublic CommitmentList.Builder setWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public CommitmentList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public CommitmentList.Builder mergeWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public CommitmentList.Builder clearWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public Warning.Builder getWarningBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;getWarningOrBuilder in interface CommitmentListOrBuilderpublic final CommitmentList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>public final CommitmentList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommitmentList.Builder>Copyright © 2023 Google LLC. All rights reserved.