public static final class DeleteSnapshotRequest.Builder extends GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder> implements DeleteSnapshotRequestOrBuilder
Request for the DeleteSnapshot
method.
Protobuf type google.pubsub.v1.DeleteSnapshotRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteSnapshotRequest.BuilderImplements
DeleteSnapshotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSnapshotRequest.Builder |
build()
public DeleteSnapshotRequest build()
Type | Description |
DeleteSnapshotRequest |
buildPartial()
public DeleteSnapshotRequest buildPartial()
Type | Description |
DeleteSnapshotRequest |
clear()
public DeleteSnapshotRequest.Builder clear()
Type | Description |
DeleteSnapshotRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteSnapshotRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteSnapshotRequest.Builder |
clearSnapshot()
public DeleteSnapshotRequest.Builder clearSnapshot()
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteSnapshotRequest.Builder | This builder for chaining. |
clone()
public DeleteSnapshotRequest.Builder clone()
Type | Description |
DeleteSnapshotRequest.Builder |
getDefaultInstanceForType()
public DeleteSnapshotRequest getDefaultInstanceForType()
Type | Description |
DeleteSnapshotRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSnapshot()
public String getSnapshot()
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The snapshot. |
getSnapshotBytes()
public ByteString getSnapshotBytes()
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for snapshot. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSnapshotRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteSnapshotRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteSnapshotRequest.Builder |
mergeFrom(DeleteSnapshotRequest other)
public DeleteSnapshotRequest.Builder mergeFrom(DeleteSnapshotRequest other)
Name | Description |
other | DeleteSnapshotRequest |
Type | Description |
DeleteSnapshotRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSnapshotRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSnapshotRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteSnapshotRequest.Builder |
setSnapshot(String value)
public DeleteSnapshotRequest.Builder setSnapshot(String value)
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The snapshot to set. |
Type | Description |
DeleteSnapshotRequest.Builder | This builder for chaining. |
setSnapshotBytes(ByteString value)
public DeleteSnapshotRequest.Builder setSnapshotBytes(ByteString value)
Required. The name of the snapshot to delete.
Format is projects/{project}/snapshots/{snap}
.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for snapshot to set. |
Type | Description |
DeleteSnapshotRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSnapshotRequest.Builder |