Class InstantSnapshotsScopedList.Builder (1.50.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InstantSnapshot>
Returns
TypeDescription
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
NameDescription
valueInstantSnapshot
Returns
TypeDescription
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
NameDescription
builderForValueInstantSnapshot.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInstantSnapshot
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstantSnapshot.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstantSnapshot.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstantSnapshotsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides

build()

public InstantSnapshotsScopedList build()
Returns
TypeDescription
InstantSnapshotsScopedList

buildPartial()

public InstantSnapshotsScopedList buildPartial()
Returns
TypeDescription
InstantSnapshotsScopedList

clear()

public InstantSnapshotsScopedList.Builder clear()
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstantSnapshotsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstantSnapshotsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstantSnapshotsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InstantSnapshotsScopedList.Builder

clone()

public InstantSnapshotsScopedList.Builder clone()
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides

getDefaultInstanceForType()

public InstantSnapshotsScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstantSnapshotsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstantSnapshotsScopedList other)

public InstantSnapshotsScopedList.Builder mergeFrom(InstantSnapshotsScopedList other)
Parameter
NameDescription
otherInstantSnapshotsScopedList
Returns
TypeDescription
InstantSnapshotsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstantSnapshotsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstantSnapshotsScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstantSnapshotsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstantSnapshotsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstantSnapshotsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInstantSnapshot
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstantSnapshot.Builder
Returns
TypeDescription
InstantSnapshotsScopedList.Builder

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

public InstantSnapshotsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstantSnapshotsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstantSnapshotsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
InstantSnapshotsScopedList.Builder