Class UpdateSnapshotRequest (1.123.8)

public final class UpdateSnapshotRequest extends GeneratedMessageV3 implements UpdateSnapshotRequestOrBuilder

Request for the UpdateSnapshot method.

Protobuf type google.pubsub.v1.UpdateSnapshotRequest

Static Fields

SNAPSHOT_FIELD_NUMBER

public static final int SNAPSHOT_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateSnapshotRequest getDefaultInstance()
Returns
TypeDescription
UpdateSnapshotRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateSnapshotRequest.Builder newBuilder()
Returns
TypeDescription
UpdateSnapshotRequest.Builder

newBuilder(UpdateSnapshotRequest prototype)

public static UpdateSnapshotRequest.Builder newBuilder(UpdateSnapshotRequest prototype)
Parameter
NameDescription
prototypeUpdateSnapshotRequest
Returns
TypeDescription
UpdateSnapshotRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateSnapshotRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateSnapshotRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateSnapshotRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateSnapshotRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateSnapshotRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateSnapshotRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateSnapshotRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSnapshotRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateSnapshotRequest> parser()
Returns
TypeDescription
Parser<UpdateSnapshotRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateSnapshotRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSnapshotRequest

getParserForType()

public Parser<UpdateSnapshotRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateSnapshotRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshot()

public Snapshot getSnapshot()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Snapshot

The snapshot.

getSnapshotOrBuilder()

public SnapshotOrBuilder getSnapshotOrBuilder()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SnapshotOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasSnapshot()

public boolean hasSnapshot()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the snapshot field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateSnapshotRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateSnapshotRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateSnapshotRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateSnapshotRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateSnapshotRequest.Builder toBuilder()
Returns
TypeDescription
UpdateSnapshotRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException