Class DeleteSnapshotRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • clear

        public DeleteSnapshotRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • getDefaultInstanceForType

        public DeleteSnapshotRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DeleteSnapshotRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DeleteSnapshotRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DeleteSnapshotRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • clearField

        public DeleteSnapshotRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • clearOneof

        public DeleteSnapshotRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • setRepeatedField

        public DeleteSnapshotRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • addRepeatedField

        public DeleteSnapshotRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • mergeFrom

        public DeleteSnapshotRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteSnapshotRequest.Builder>
        Throws:
        IOException
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         The ID of the Cloud Platform project that the snapshot belongs to.
         
        string project_id = 1;
        Specified by:
        getProjectIdBytes in interface DeleteSnapshotRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public DeleteSnapshotRequest.Builder setProjectId​(String value)
         The ID of the Cloud Platform project that the snapshot belongs to.
         
        string project_id = 1;
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public DeleteSnapshotRequest.Builder clearProjectId()
         The ID of the Cloud Platform project that the snapshot belongs to.
         
        string project_id = 1;
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public DeleteSnapshotRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         The ID of the Cloud Platform project that the snapshot belongs to.
         
        string project_id = 1;
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getSnapshotIdBytes

        public com.google.protobuf.ByteString getSnapshotIdBytes()
         The ID of the snapshot.
         
        string snapshot_id = 2;
        Specified by:
        getSnapshotIdBytes in interface DeleteSnapshotRequestOrBuilder
        Returns:
        The bytes for snapshotId.
      • setSnapshotId

        public DeleteSnapshotRequest.Builder setSnapshotId​(String value)
         The ID of the snapshot.
         
        string snapshot_id = 2;
        Parameters:
        value - The snapshotId to set.
        Returns:
        This builder for chaining.
      • clearSnapshotId

        public DeleteSnapshotRequest.Builder clearSnapshotId()
         The ID of the snapshot.
         
        string snapshot_id = 2;
        Returns:
        This builder for chaining.
      • setSnapshotIdBytes

        public DeleteSnapshotRequest.Builder setSnapshotIdBytes​(com.google.protobuf.ByteString value)
         The ID of the snapshot.
         
        string snapshot_id = 2;
        Parameters:
        value - The bytes for snapshotId to set.
        Returns:
        This builder for chaining.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         The location that contains this snapshot.
         
        string location = 3;
        Specified by:
        getLocationBytes in interface DeleteSnapshotRequestOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public DeleteSnapshotRequest.Builder setLocation​(String value)
         The location that contains this snapshot.
         
        string location = 3;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public DeleteSnapshotRequest.Builder clearLocation()
         The location that contains this snapshot.
         
        string location = 3;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public DeleteSnapshotRequest.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         The location that contains this snapshot.
         
        string location = 3;
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DeleteSnapshotRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
      • mergeUnknownFields

        public final DeleteSnapshotRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>