Class InstantSnapshotGroupResourceStatus.Builder (1.105.0)

public static final class InstantSnapshotGroupResourceStatus.Builder extends GeneratedMessage.Builder<InstantSnapshotGroupResourceStatus.Builder> implements InstantSnapshotGroupResourceStatusOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotGroupResourceStatus

Static Methods

getDescriptor()

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

Methods

build()

public InstantSnapshotGroupResourceStatus build()
Returns
Type Description
InstantSnapshotGroupResourceStatus

buildPartial()

public InstantSnapshotGroupResourceStatus buildPartial()
Returns
Type Description
InstantSnapshotGroupResourceStatus

clear()

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

clearConsistencyMembershipResolutionTime()

public InstantSnapshotGroupResourceStatus.Builder clearConsistencyMembershipResolutionTime()

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

This builder for chaining.

clearSourceInfo()

public InstantSnapshotGroupResourceStatus.Builder clearSourceInfo()

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

getConsistencyMembershipResolutionTime()

public String getConsistencyMembershipResolutionTime()

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Returns
Type Description
String

The consistencyMembershipResolutionTime.

getConsistencyMembershipResolutionTimeBytes()

public ByteString getConsistencyMembershipResolutionTimeBytes()

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Returns
Type Description
ByteString

The bytes for consistencyMembershipResolutionTime.

getDefaultInstanceForType()

public InstantSnapshotGroupResourceStatus getDefaultInstanceForType()
Returns
Type Description
InstantSnapshotGroupResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceInfo()

public InstantSnapshotGroupSourceInfo getSourceInfo()

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Returns
Type Description
InstantSnapshotGroupSourceInfo

The sourceInfo.

getSourceInfoBuilder()

public InstantSnapshotGroupSourceInfo.Builder getSourceInfoBuilder()

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Returns
Type Description
InstantSnapshotGroupSourceInfo.Builder

getSourceInfoOrBuilder()

public InstantSnapshotGroupSourceInfoOrBuilder getSourceInfoOrBuilder()

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Returns
Type Description
InstantSnapshotGroupSourceInfoOrBuilder

hasConsistencyMembershipResolutionTime()

public boolean hasConsistencyMembershipResolutionTime()

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Returns
Type Description
boolean

Whether the consistencyMembershipResolutionTime field is set.

hasSourceInfo()

public boolean hasSourceInfo()

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Returns
Type Description
boolean

Whether the sourceInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstantSnapshotGroupResourceStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSourceInfo(InstantSnapshotGroupSourceInfo value)

public InstantSnapshotGroupResourceStatus.Builder mergeSourceInfo(InstantSnapshotGroupSourceInfo value)

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Parameter
Name Description
value InstantSnapshotGroupSourceInfo
Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

setConsistencyMembershipResolutionTime(String value)

public InstantSnapshotGroupResourceStatus.Builder setConsistencyMembershipResolutionTime(String value)

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Parameter
Name Description
value String

The consistencyMembershipResolutionTime to set.

Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

This builder for chaining.

setConsistencyMembershipResolutionTimeBytes(ByteString value)

public InstantSnapshotGroupResourceStatus.Builder setConsistencyMembershipResolutionTimeBytes(ByteString value)

Output only. [Output Only]

optional string consistency_membership_resolution_time = 346675870;

Parameter
Name Description
value ByteString

The bytes for consistencyMembershipResolutionTime to set.

Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

This builder for chaining.

setSourceInfo(InstantSnapshotGroupSourceInfo value)

public InstantSnapshotGroupResourceStatus.Builder setSourceInfo(InstantSnapshotGroupSourceInfo value)

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Parameter
Name Description
value InstantSnapshotGroupSourceInfo
Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder

setSourceInfo(InstantSnapshotGroupSourceInfo.Builder builderForValue)

public InstantSnapshotGroupResourceStatus.Builder setSourceInfo(InstantSnapshotGroupSourceInfo.Builder builderForValue)

Output only. [Output Only]

optional .google.cloud.compute.v1.InstantSnapshotGroupSourceInfo source_info = 451907154;

Parameter
Name Description
builderForValue InstantSnapshotGroupSourceInfo.Builder
Returns
Type Description
InstantSnapshotGroupResourceStatus.Builder