public static final class InstantSnapshotsScopedList.Builder extends GeneratedMessage.Builder<InstantSnapshotsScopedList.Builder> implements InstantSnapshotsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.InstantSnapshotsScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInstantSnapshots(Iterable<? extends InstantSnapshot> values)
public InstantSnapshotsScopedList.Builder addAllInstantSnapshots(Iterable<? extends InstantSnapshot> values)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.InstantSnapshot>
|
addInstantSnapshots(InstantSnapshot value)
public InstantSnapshotsScopedList.Builder addInstantSnapshots(InstantSnapshot value)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
addInstantSnapshots(InstantSnapshot.Builder builderForValue)
public InstantSnapshotsScopedList.Builder addInstantSnapshots(InstantSnapshot.Builder builderForValue)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
addInstantSnapshots(int index, InstantSnapshot value)
public InstantSnapshotsScopedList.Builder addInstantSnapshots(int index, InstantSnapshot value)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
addInstantSnapshots(int index, InstantSnapshot.Builder builderForValue)
public InstantSnapshotsScopedList.Builder addInstantSnapshots(int index, InstantSnapshot.Builder builderForValue)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
addInstantSnapshotsBuilder()
public InstantSnapshot.Builder addInstantSnapshotsBuilder()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
addInstantSnapshotsBuilder(int index)
public InstantSnapshot.Builder addInstantSnapshotsBuilder(int index)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
index |
int
|
build()
public InstantSnapshotsScopedList build()
buildPartial()
public InstantSnapshotsScopedList buildPartial()
clear()
public InstantSnapshotsScopedList.Builder clear()
Overrides
clearInstantSnapshots()
public InstantSnapshotsScopedList.Builder clearInstantSnapshots()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
clearWarning()
public InstantSnapshotsScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getDefaultInstanceForType()
public InstantSnapshotsScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstantSnapshots(int index)
public InstantSnapshot getInstantSnapshots(int index)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
index |
int
|
getInstantSnapshotsBuilder(int index)
public InstantSnapshot.Builder getInstantSnapshotsBuilder(int index)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
index |
int
|
getInstantSnapshotsBuilderList()
public List<InstantSnapshot.Builder> getInstantSnapshotsBuilderList()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
getInstantSnapshotsCount()
public int getInstantSnapshotsCount()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Returns |
| Type |
Description |
int |
|
getInstantSnapshotsList()
public List<InstantSnapshot> getInstantSnapshotsList()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
getInstantSnapshotsOrBuilder(int index)
public InstantSnapshotOrBuilder getInstantSnapshotsOrBuilder(int index)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
index |
int
|
getInstantSnapshotsOrBuilderList()
public List<? extends InstantSnapshotOrBuilder> getInstantSnapshotsOrBuilderList()
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.InstantSnapshotOrBuilder> |
|
getWarning()
public Warning getWarning()
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
Warning |
The warning.
|
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
hasWarning()
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
boolean |
Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstantSnapshotsScopedList other)
public InstantSnapshotsScopedList.Builder mergeFrom(InstantSnapshotsScopedList other)
public InstantSnapshotsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstantSnapshotsScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public InstantSnapshotsScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeInstantSnapshots(int index)
public InstantSnapshotsScopedList.Builder removeInstantSnapshots(int index)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
| Parameter |
| Name |
Description |
index |
int
|
setInstantSnapshots(int index, InstantSnapshot value)
public InstantSnapshotsScopedList.Builder setInstantSnapshots(int index, InstantSnapshot value)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
setInstantSnapshots(int index, InstantSnapshot.Builder builderForValue)
public InstantSnapshotsScopedList.Builder setInstantSnapshots(int index, InstantSnapshot.Builder builderForValue)
[Output Only] A list of instantSnapshots contained in this scope.
repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;
setWarning(Warning value)
public InstantSnapshotsScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public InstantSnapshotsScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;