Class InstantSnapshotGroupSourceInfo.Builder (1.105.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class InstantSnapshotGroupSourceInfo.Builder extends GeneratedMessage.Builder<InstantSnapshotGroupSourceInfo.Builder> implements InstantSnapshotGroupSourceInfoOrBuilder
Protobuf type google.cloud.compute.v1.InstantSnapshotGroupSourceInfo
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
build()
public InstantSnapshotGroupSourceInfo build()
buildPartial()
public InstantSnapshotGroupSourceInfo buildPartial()
clear()
public InstantSnapshotGroupSourceInfo.Builder clear()
Overrides
clearConsistencyGroup()
public InstantSnapshotGroupSourceInfo.Builder clearConsistencyGroup()
optional string consistency_group = 508183960;
clearConsistencyGroupId()
public InstantSnapshotGroupSourceInfo.Builder clearConsistencyGroupId()
optional string consistency_group_id = 85599522;
getConsistencyGroup()
public String getConsistencyGroup()
optional string consistency_group = 508183960;
| Returns |
| Type |
Description |
String |
The consistencyGroup.
|
getConsistencyGroupBytes()
public ByteString getConsistencyGroupBytes()
optional string consistency_group = 508183960;
| Returns |
| Type |
Description |
ByteString |
The bytes for consistencyGroup.
|
getConsistencyGroupId()
public String getConsistencyGroupId()
optional string consistency_group_id = 85599522;
| Returns |
| Type |
Description |
String |
The consistencyGroupId.
|
getConsistencyGroupIdBytes()
public ByteString getConsistencyGroupIdBytes()
optional string consistency_group_id = 85599522;
| Returns |
| Type |
Description |
ByteString |
The bytes for consistencyGroupId.
|
getDefaultInstanceForType()
public InstantSnapshotGroupSourceInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasConsistencyGroup()
public boolean hasConsistencyGroup()
optional string consistency_group = 508183960;
| Returns |
| Type |
Description |
boolean |
Whether the consistencyGroup field is set.
|
hasConsistencyGroupId()
public boolean hasConsistencyGroupId()
optional string consistency_group_id = 85599522;
| Returns |
| Type |
Description |
boolean |
Whether the consistencyGroupId field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstantSnapshotGroupSourceInfo other)
public InstantSnapshotGroupSourceInfo.Builder mergeFrom(InstantSnapshotGroupSourceInfo other)
public InstantSnapshotGroupSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstantSnapshotGroupSourceInfo.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setConsistencyGroup(String value)
public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroup(String value)
optional string consistency_group = 508183960;
| Parameter |
| Name |
Description |
value |
String
The consistencyGroup to set.
|
setConsistencyGroupBytes(ByteString value)
public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupBytes(ByteString value)
optional string consistency_group = 508183960;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for consistencyGroup to set.
|
setConsistencyGroupId(String value)
public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupId(String value)
optional string consistency_group_id = 85599522;
| Parameter |
| Name |
Description |
value |
String
The consistencyGroupId to set.
|
setConsistencyGroupIdBytes(ByteString value)
public InstantSnapshotGroupSourceInfo.Builder setConsistencyGroupIdBytes(ByteString value)
optional string consistency_group_id = 85599522;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for consistencyGroupId to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-06 UTC.
[null,null,["Last updated 2026-08-06 UTC."],[],[]]