Class InstantSnapshotsScopedList.Builder (1.64.0)

public static final class InstantSnapshotsScopedList.Builder extends GeneratedMessageV3.Builder<InstantSnapshotsScopedList.Builder> implements InstantSnapshotsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotsScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameter
Name Description
value InstantSnapshot
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameter
Name Description
builderForValue InstantSnapshot.Builder
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameters
Name Description
index int
value InstantSnapshot
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameters
Name Description
index int
builderForValue InstantSnapshot.Builder
Returns
Type Description
InstantSnapshotsScopedList.Builder

addInstantSnapshotsBuilder()

public InstantSnapshot.Builder addInstantSnapshotsBuilder()

[Output Only] A list of instantSnapshots contained in this scope.

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

Returns
Type Description
InstantSnapshot.Builder

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
Returns
Type Description
InstantSnapshot.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstantSnapshotsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

build()

public InstantSnapshotsScopedList build()
Returns
Type Description
InstantSnapshotsScopedList

buildPartial()

public InstantSnapshotsScopedList buildPartial()
Returns
Type Description
InstantSnapshotsScopedList

clear()

public InstantSnapshotsScopedList.Builder clear()
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstantSnapshotsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InstantSnapshotsScopedList.Builder
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;

Returns
Type Description
InstantSnapshotsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstantSnapshotsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

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;

Returns
Type Description
InstantSnapshotsScopedList.Builder

clone()

public InstantSnapshotsScopedList.Builder clone()
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

getDefaultInstanceForType()

public InstantSnapshotsScopedList getDefaultInstanceForType()
Returns
Type Description
InstantSnapshotsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
InstantSnapshot

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
Returns
Type Description
InstantSnapshot.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<InstantSnapshot>

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
Returns
Type Description
InstantSnapshotOrBuilder

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;

Returns
Type Description
Warning.Builder

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;

Returns
Type Description
WarningOrBuilder

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstantSnapshotsScopedList other)

public InstantSnapshotsScopedList.Builder mergeFrom(InstantSnapshotsScopedList other)
Parameter
Name Description
other InstantSnapshotsScopedList
Returns
Type Description
InstantSnapshotsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstantSnapshotsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstantSnapshotsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstantSnapshotsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstantSnapshotsScopedList.Builder
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
Returns
Type Description
InstantSnapshotsScopedList.Builder

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
Returns
Type Description
InstantSnapshotsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstantSnapshotsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

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;

Parameters
Name Description
index int
value InstantSnapshot
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameters
Name Description
index int
builderForValue InstantSnapshot.Builder
Returns
Type Description
InstantSnapshotsScopedList.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstantSnapshotsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstantSnapshotsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstantSnapshotsScopedList.Builder
Overrides

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
Returns
Type Description
InstantSnapshotsScopedList.Builder

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;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
InstantSnapshotsScopedList.Builder