Class InstantSnapshotsScopedList.Builder (1.49.0)

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

Protobuf type google.cloud.compute.v1.InstantSnapshotsScopedList

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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
Overrides

build()

public InstantSnapshotsScopedList build()
Returns
TypeDescription
InstantSnapshotsScopedList

buildPartial()

public InstantSnapshotsScopedList buildPartial()
Returns
TypeDescription
InstantSnapshotsScopedList

clear()

public InstantSnapshotsScopedList.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InstantSnapshotsScopedList.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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