public static final class UpdateSnapshotRequest.Builder extends GeneratedMessageV3.Builder<UpdateSnapshotRequest.Builder> implements UpdateSnapshotRequestOrBuilder
Request for the UpdateSnapshot method.
Protobuf type google.pubsub.v1.UpdateSnapshotRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSnapshotRequest build()
buildPartial()
public UpdateSnapshotRequest buildPartial()
clear()
public UpdateSnapshotRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSnapshot()
public UpdateSnapshotRequest.Builder clearSnapshot()
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSnapshotRequest.Builder clearUpdateMask()
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];
clone()
public UpdateSnapshotRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSnapshotRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSnapshot()
public Snapshot getSnapshot()
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Snapshot | The snapshot.
|
getSnapshotBuilder()
public Snapshot.Builder getSnapshotBuilder()
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
getSnapshotOrBuilder()
public SnapshotOrBuilder getSnapshotOrBuilder()
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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];
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];
hasSnapshot()
public boolean hasSnapshot()
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public UpdateSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSnapshotRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(UpdateSnapshotRequest other)
public UpdateSnapshotRequest.Builder mergeFrom(UpdateSnapshotRequest other)
mergeSnapshot(Snapshot value)
public UpdateSnapshotRequest.Builder mergeSnapshot(Snapshot value)
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSnapshotRequest.Builder mergeUpdateMask(FieldMask value)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSnapshot(Snapshot value)
public UpdateSnapshotRequest.Builder setSnapshot(Snapshot value)
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
setSnapshot(Snapshot.Builder builderForValue)
public UpdateSnapshotRequest.Builder setSnapshot(Snapshot.Builder builderForValue)
Required. The updated snapshot object.
.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSnapshotRequest.Builder setUpdateMask(FieldMask value)
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];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSnapshotRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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];
Parameter |
---|
Name | Description |
builderForValue | Builder
|