public static final class InstantSnapshotResourceStatus.Builder extends GeneratedMessageV3.Builder<InstantSnapshotResourceStatus.Builder> implements InstantSnapshotResourceStatusOrBuilder
Protobuf type google.cloud.compute.v1.InstantSnapshotResourceStatus
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstantSnapshotResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstantSnapshotResourceStatus build()
buildPartial()
public InstantSnapshotResourceStatus buildPartial()
clear()
public InstantSnapshotResourceStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstantSnapshotResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InstantSnapshotResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStorageSizeBytes()
public InstantSnapshotResourceStatus.Builder clearStorageSizeBytes()
[Output Only] The storage size of this instant snapshot.
optional int64 storage_size_bytes = 387548913;
clone()
public InstantSnapshotResourceStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public InstantSnapshotResourceStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStorageSizeBytes()
public long getStorageSizeBytes()
[Output Only] The storage size of this instant snapshot.
optional int64 storage_size_bytes = 387548913;
Returns |
Type |
Description |
long |
The storageSizeBytes.
|
hasStorageSizeBytes()
public boolean hasStorageSizeBytes()
[Output Only] The storage size of this instant snapshot.
optional int64 storage_size_bytes = 387548913;
Returns |
Type |
Description |
boolean |
Whether the storageSizeBytes field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstantSnapshotResourceStatus other)
public InstantSnapshotResourceStatus.Builder mergeFrom(InstantSnapshotResourceStatus other)
public InstantSnapshotResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstantSnapshotResourceStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstantSnapshotResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstantSnapshotResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstantSnapshotResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStorageSizeBytes(long value)
public InstantSnapshotResourceStatus.Builder setStorageSizeBytes(long value)
[Output Only] The storage size of this instant snapshot.
optional int64 storage_size_bytes = 387548913;
Parameter |
Name |
Description |
value |
long
The storageSizeBytes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InstantSnapshotResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides